Skip to content

Commit

Permalink
Merge pull request #19 from artemis-ag/export-object-promise-proxy-fr…
Browse files Browse the repository at this point in the history
…om-main

Export object promise proxy from main
  • Loading branch information
Joe Torreggiani authored Jan 29, 2020
2 parents 1234e6e + 9854607 commit cb209cd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/mobx-async-store.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,7 @@ function (_Array) {
}(_wrapNativeSuper(Array));

exports.Model = Model;
exports.ObjectPromiseProxy = ObjectPromiseProxy;
exports.Store = Store;
exports.attribute = attribute;
exports.relatedToMany = relatedToMany;
Expand Down
2 changes: 1 addition & 1 deletion dist/mobx-async-store.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2319,4 +2319,4 @@ function (_Array) {
return RelatedRecordsArray;
}(_wrapNativeSuper(Array));

export { Model, Store, attribute, relatedToMany, relatedToOne, validates };
export { Model, ObjectPromiseProxy, Store, attribute, relatedToMany, relatedToOne, validates };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-async-store",
"version": "1.0.5",
"version": "1.0.6",
"module": "dist/mobx-async-store.esm.js",
"browser": "dist/mobx-async-store.cjs.js",
"main": "dist/mobx-async-store.cjs.js",
Expand Down
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import Model from './Model'
import Store from './Store'
import { attribute, validates } from './decorators/attributes'
import { relatedToMany, relatedToOne } from './decorators/relationships'
import ObjectPromiseProxy from './ObjectPromiseProxy'

export {
Model,
Store,
attribute,
relatedToMany,
relatedToOne,
validates
validates,
ObjectPromiseProxy
}

0 comments on commit cb209cd

Please sign in to comment.