aws-amplify 6.12.1-server-auth.778c2b6.0 → 6.12.1-server-auth.28fa210.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "aws-amplify/adapter-core/internals",
3
+ "types": "../../dist/esm/adapter-core/internals.d.ts",
4
+ "main": "../../dist/cjs/adapter-core/internals.js",
5
+ "module": "../../dist/esm/adapter-core/internals.mjs",
6
+ "sideEffects": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "aws-amplify/api/internals",
3
+ "main": "../../dist/cjs/api/internals.js",
4
+ "browser": "../../dist/esm/api/internals.mjs",
5
+ "module": "../../dist/esm/api/internals.mjs",
6
+ "typings": "../../dist/esm/api/internals.d.ts"
7
+ }
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ // SPDX-License-Identifier: Apache-2.0
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.decodeJWT = exports.urlSafeEncode = exports.assertTokenProviderConfig = exports.assertOAuthConfig = exports.getAmplifyServerContext = exports.AmplifyServerContextError = void 0;
7
+ var adapter_core_1 = require("@aws-amplify/core/internals/adapter-core");
8
+ Object.defineProperty(exports, "AmplifyServerContextError", { enumerable: true, get: function () { return adapter_core_1.AmplifyServerContextError; } });
9
+ Object.defineProperty(exports, "getAmplifyServerContext", { enumerable: true, get: function () { return adapter_core_1.getAmplifyServerContext; } });
10
+ var utils_1 = require("@aws-amplify/core/internals/utils");
11
+ Object.defineProperty(exports, "assertOAuthConfig", { enumerable: true, get: function () { return utils_1.assertOAuthConfig; } });
12
+ Object.defineProperty(exports, "assertTokenProviderConfig", { enumerable: true, get: function () { return utils_1.assertTokenProviderConfig; } });
13
+ Object.defineProperty(exports, "urlSafeEncode", { enumerable: true, get: function () { return utils_1.urlSafeEncode; } });
14
+ Object.defineProperty(exports, "decodeJWT", { enumerable: true, get: function () { return utils_1.decodeJWT; } });
15
+ //# sourceMappingURL=internals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.js","sources":["../../../src/adapter-core/internals.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeJWT = exports.urlSafeEncode = exports.assertTokenProviderConfig = exports.assertOAuthConfig = exports.getAmplifyServerContext = exports.AmplifyServerContextError = void 0;\nvar adapter_core_1 = require(\"@aws-amplify/core/internals/adapter-core\");\nObject.defineProperty(exports, \"AmplifyServerContextError\", { enumerable: true, get: function () { return adapter_core_1.AmplifyServerContextError; } });\nObject.defineProperty(exports, \"getAmplifyServerContext\", { enumerable: true, get: function () { return adapter_core_1.getAmplifyServerContext; } });\nvar utils_1 = require(\"@aws-amplify/core/internals/utils\");\nObject.defineProperty(exports, \"assertOAuthConfig\", { enumerable: true, get: function () { return utils_1.assertOAuthConfig; } });\nObject.defineProperty(exports, \"assertTokenProviderConfig\", { enumerable: true, get: function () { return utils_1.assertTokenProviderConfig; } });\nObject.defineProperty(exports, \"urlSafeEncode\", { enumerable: true, get: function () { return utils_1.urlSafeEncode; } });\nObject.defineProperty(exports, \"decodeJWT\", { enumerable: true, get: function () { return utils_1.decodeJWT; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,GAAG,KAAK,CAAC,CAAC;AACzL,IAAI,cAAc,GAAG,OAAO,CAAC,0CAA0C,CAAC,CAAC;AACzE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,cAAc,CAAC,yBAAyB,CAAC,EAAE,EAAE,CAAC,CAAC;AACzJ,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,yBAAyB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,cAAc,CAAC,uBAAuB,CAAC,EAAE,EAAE,CAAC,CAAC;AACrJ,IAAI,OAAO,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC;AAC3D,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC;AAClI,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,yBAAyB,CAAC,EAAE,EAAE,CAAC,CAAC;AAClJ,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC;AAC1H,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC;;"}
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ // SPDX-License-Identifier: Apache-2.0
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.generateClientWithAmplifyInstance = void 0;
7
+ var internals_1 = require("@aws-amplify/api/internals");
8
+ Object.defineProperty(exports, "generateClientWithAmplifyInstance", { enumerable: true, get: function () { return internals_1.generateClientWithAmplifyInstance; } });
9
+ //# sourceMappingURL=internals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.js","sources":["../../../src/api/internals.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateClientWithAmplifyInstance = void 0;\nvar internals_1 = require(\"@aws-amplify/api/internals\");\nObject.defineProperty(exports, \"generateClientWithAmplifyInstance\", { enumerable: true, get: function () { return internals_1.generateClientWithAmplifyInstance; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,iCAAiC,GAAG,KAAK,CAAC,CAAC;AACnD,IAAI,WAAW,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AACxD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mCAAmC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,WAAW,CAAC,iCAAiC,CAAC,EAAE,EAAE,CAAC;;"}
@@ -0,0 +1,3 @@
1
+ export { KeyValueStorageMethodValidator, AmplifyServerContextError, getAmplifyServerContext, AmplifyServer, CookieStorage, } from '@aws-amplify/core/internals/adapter-core';
2
+ export { OAuthConfig } from '@aws-amplify/core';
3
+ export { assertOAuthConfig, assertTokenProviderConfig, urlSafeEncode, decodeJWT, } from '@aws-amplify/core/internals/utils';
@@ -0,0 +1,3 @@
1
+ export { AmplifyServerContextError, getAmplifyServerContext } from '@aws-amplify/core/internals/adapter-core';
2
+ export { assertOAuthConfig, assertTokenProviderConfig, decodeJWT, urlSafeEncode } from '@aws-amplify/core/internals/utils';
3
+ //# sourceMappingURL=internals.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,3 @@
1
+ export { generateClientWithAmplifyInstance } from '@aws-amplify/api/internals';
2
+ export { V6ClientSSRCookies, V6ClientSSRRequest, } from '@aws-amplify/api-graphql';
3
+ export { CommonPublicClientOptions, DefaultCommonClientOptions, } from '@aws-amplify/api-graphql/internals';
@@ -0,0 +1,2 @@
1
+ export { generateClientWithAmplifyInstance } from '@aws-amplify/api/internals';
2
+ //# sourceMappingURL=internals.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-amplify",
3
- "version": "6.12.1-server-auth.778c2b6.0+778c2b6",
3
+ "version": "6.12.1-server-auth.28fa210.0+28fa210",
4
4
  "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -31,6 +31,12 @@
31
31
  "require": "./dist/cjs/api/index.js",
32
32
  "react-native": "./src/api/index.ts"
33
33
  },
34
+ "./api/internals": {
35
+ "types": "./dist/esm/api/internals.d.ts",
36
+ "import": "./dist/esm/api/internals.mjs",
37
+ "require": "./dist/cjs/api/internals.js",
38
+ "react-native": "./src/api/internals.ts"
39
+ },
34
40
  "./api/server": {
35
41
  "types": "./dist/esm/api/server.d.ts",
36
42
  "import": "./dist/esm/api/server.mjs",
@@ -155,6 +161,11 @@
155
161
  "import": "./dist/esm/adapter-core/index.mjs",
156
162
  "require": "./dist/cjs/adapter-core/index.js"
157
163
  },
164
+ "./adapter-core/internals": {
165
+ "types": "./dist/esm/adapter-core/internals.d.ts",
166
+ "import": "./dist/esm/adapter-core/internals.mjs",
167
+ "require": "./dist/cjs/adapter-core/internals.js"
168
+ },
158
169
  "./package.json": "./package.json"
159
170
  },
160
171
  "typesVersions": {
@@ -168,6 +179,9 @@
168
179
  "api/server": [
169
180
  "./dist/esm/api/server.d.ts"
170
181
  ],
182
+ "api/server/internals": [
183
+ "./dist/esm/api/internals.d.ts"
184
+ ],
171
185
  "utils": [
172
186
  "./dist/esm/utils/index.d.ts"
173
187
  ],
@@ -227,6 +241,9 @@
227
241
  ],
228
242
  "adapter-core": [
229
243
  "./dist/esm/adapter-core/index.d.ts"
244
+ ],
245
+ "adapter-core/internals": [
246
+ "./dist/esm/adapter-core/internals.d.ts"
230
247
  ]
231
248
  }
232
249
  },
@@ -276,13 +293,13 @@
276
293
  "utils"
277
294
  ],
278
295
  "dependencies": {
279
- "@aws-amplify/analytics": "7.0.66-server-auth.778c2b6.0+778c2b6",
280
- "@aws-amplify/api": "6.2.1-server-auth.778c2b6.0+778c2b6",
281
- "@aws-amplify/auth": "6.9.2-server-auth.778c2b6.0+778c2b6",
282
- "@aws-amplify/core": "6.9.1-server-auth.778c2b6.0+778c2b6",
283
- "@aws-amplify/datastore": "5.0.68-server-auth.778c2b6.0+778c2b6",
284
- "@aws-amplify/notifications": "2.0.66-server-auth.778c2b6.0+778c2b6",
285
- "@aws-amplify/storage": "6.7.7-server-auth.778c2b6.0+778c2b6",
296
+ "@aws-amplify/analytics": "7.0.66-server-auth.28fa210.0+28fa210",
297
+ "@aws-amplify/api": "6.2.1-server-auth.28fa210.0+28fa210",
298
+ "@aws-amplify/auth": "6.9.2-server-auth.28fa210.0+28fa210",
299
+ "@aws-amplify/core": "6.9.1-server-auth.28fa210.0+28fa210",
300
+ "@aws-amplify/datastore": "5.0.68-server-auth.28fa210.0+28fa210",
301
+ "@aws-amplify/notifications": "2.0.66-server-auth.28fa210.0+28fa210",
302
+ "@aws-amplify/storage": "6.7.7-server-auth.28fa210.0+28fa210",
286
303
  "tslib": "^2.5.0"
287
304
  },
288
305
  "devDependencies": {
@@ -518,5 +535,5 @@
518
535
  "limit": "22.87 kB"
519
536
  }
520
537
  ],
521
- "gitHead": "778c2b6a83aedb49aa46d4df0083ff460f3000be"
538
+ "gitHead": "28fa2106627e4afb3f2ad3af650f332b6a2ec8a1"
522
539
  }
@@ -0,0 +1,17 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ export {
5
+ KeyValueStorageMethodValidator,
6
+ AmplifyServerContextError,
7
+ getAmplifyServerContext,
8
+ AmplifyServer,
9
+ CookieStorage,
10
+ } from '@aws-amplify/core/internals/adapter-core';
11
+ export { OAuthConfig } from '@aws-amplify/core';
12
+ export {
13
+ assertOAuthConfig,
14
+ assertTokenProviderConfig,
15
+ urlSafeEncode,
16
+ decodeJWT,
17
+ } from '@aws-amplify/core/internals/utils';
@@ -0,0 +1,12 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ export { generateClientWithAmplifyInstance } from '@aws-amplify/api/internals';
5
+ export {
6
+ V6ClientSSRCookies,
7
+ V6ClientSSRRequest,
8
+ } from '@aws-amplify/api-graphql';
9
+ export {
10
+ CommonPublicClientOptions,
11
+ DefaultCommonClientOptions,
12
+ } from '@aws-amplify/api-graphql/internals';