Skip to content

Commit

Permalink
fix(data): update datastore-storage-adapter subpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mcafee committed Mar 5, 2024
1 parent adb5876 commit f871d71
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/aws-amplify/datastore-storage-adapter/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "aws-amplify/datastore-storage-adapter",
"main": "../dist/cjs/datastore-storage-adapter/index.js",
"react-native": "../src/datastore-storage-adapter/index.ts",
"browser": "../dist/esm/datastore-storage-adapter/index.mjs",
"module": "../dist/esm/datastore-storage-adapter/index.mjs",
"typings": "../dist/esm/datastore-storage-adapter/index.d.ts"
}
6 changes: 6 additions & 0 deletions packages/aws-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
"require": "./dist/cjs/datastore/index.js",
"react-native": "./src/datastore/index.ts"
},
"./datastore-storage-adapter": {
"types": "./dist/esm/datastore-storage-adapter/index.d.ts",
"import": "./dist/esm/datastore-storage-adapter/index.mjs",
"require": "./dist/cjs/datastore-storage-adapter/index.js",
"react-native": "./src/datastore-storage-adapter/index.ts"
},
"./auth/cognito": {
"types": "./dist/esm/auth/cognito/index.d.ts",
"import": "./dist/esm/auth/cognito/index.mjs",
Expand Down

0 comments on commit f871d71

Please sign in to comment.