@aws-amplify/react-native 1.3.1 → 1.3.2-context-cogs.077566e.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.
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/moduleLoaders/index.js +3 -1
- package/dist/cjs/moduleLoaders/index.js.map +1 -1
- package/dist/cjs/moduleLoaders/loadAmplifyRtnAsf.js +21 -0
- package/dist/cjs/moduleLoaders/loadAmplifyRtnAsf.js.map +1 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/moduleLoaders/index.d.ts +1 -0
- package/dist/esm/moduleLoaders/index.mjs +1 -0
- package/dist/esm/moduleLoaders/index.mjs.map +1 -1
- package/dist/esm/moduleLoaders/loadAmplifyRtnAsf.d.ts +2 -0
- package/dist/esm/moduleLoaders/loadAmplifyRtnAsf.mjs +18 -0
- package/dist/esm/moduleLoaders/loadAmplifyRtnAsf.mjs.map +1 -0
- package/package.json +11 -5
- package/src/index.ts +1 -0
- package/src/moduleLoaders/index.ts +1 -0
- package/src/moduleLoaders/loadAmplifyRtnAsf.ts +18 -0
package/dist/cjs/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
4
4
|
// SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.getIsNativeError = exports.getDeviceName = exports.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;
|
|
6
|
+
exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.loadAmplifyRtnAsf = exports.getIsNativeError = exports.getDeviceName = exports.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;
|
|
7
7
|
var apis_1 = require("./apis");
|
|
8
8
|
Object.defineProperty(exports, "computeModPow", { enumerable: true, get: function () { return apis_1.computeModPow; } });
|
|
9
9
|
Object.defineProperty(exports, "computeS", { enumerable: true, get: function () { return apis_1.computeS; } });
|
|
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "getOperatingSystem", { enumerable: true, get: fu
|
|
|
11
11
|
Object.defineProperty(exports, "getDeviceName", { enumerable: true, get: function () { return apis_1.getDeviceName; } });
|
|
12
12
|
Object.defineProperty(exports, "getIsNativeError", { enumerable: true, get: function () { return apis_1.getIsNativeError; } });
|
|
13
13
|
var moduleLoaders_1 = require("./moduleLoaders");
|
|
14
|
+
Object.defineProperty(exports, "loadAmplifyRtnAsf", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyRtnAsf; } });
|
|
14
15
|
Object.defineProperty(exports, "loadAmplifyRtnPasskeys", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyRtnPasskeys; } });
|
|
15
16
|
Object.defineProperty(exports, "loadAmplifyPushNotification", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyPushNotification; } });
|
|
16
17
|
Object.defineProperty(exports, "loadAmplifyWebBrowser", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyWebBrowser; } });
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.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.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.getIsNativeError = exports.getDeviceName = exports.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;\nvar apis_1 = require(\"./apis\");\nObject.defineProperty(exports, \"computeModPow\", { enumerable: true, get: function () { return apis_1.computeModPow; } });\nObject.defineProperty(exports, \"computeS\", { enumerable: true, get: function () { return apis_1.computeS; } });\nObject.defineProperty(exports, \"getOperatingSystem\", { enumerable: true, get: function () { return apis_1.getOperatingSystem; } });\nObject.defineProperty(exports, \"getDeviceName\", { enumerable: true, get: function () { return apis_1.getDeviceName; } });\nObject.defineProperty(exports, \"getIsNativeError\", { enumerable: true, get: function () { return apis_1.getIsNativeError; } });\nvar moduleLoaders_1 = require(\"./moduleLoaders\");\nObject.defineProperty(exports, \"loadAmplifyRtnPasskeys\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyRtnPasskeys; } });\nObject.defineProperty(exports, \"loadAmplifyPushNotification\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyPushNotification; } });\nObject.defineProperty(exports, \"loadAmplifyWebBrowser\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyWebBrowser; } });\nObject.defineProperty(exports, \"loadAsyncStorage\", { enumerable: true, get: function () { return moduleLoaders_1.loadAsyncStorage; } });\nObject.defineProperty(exports, \"loadNetInfo\", { enumerable: true, get: function () { return moduleLoaders_1.loadNetInfo; } });\nObject.defineProperty(exports, \"loadBuffer\", { enumerable: true, get: function () { return moduleLoaders_1.loadBuffer; } });\nObject.defineProperty(exports, \"loadUrlPolyfill\", { enumerable: true, get: function () { return moduleLoaders_1.loadUrlPolyfill; } });\nObject.defineProperty(exports, \"loadGetRandomValues\", { enumerable: true, get: function () { return moduleLoaders_1.loadGetRandomValues; } });\nObject.defineProperty(exports, \"loadBase64\", { enumerable: true, get: function () { return moduleLoaders_1.loadBase64; } });\nObject.defineProperty(exports, \"loadAppState\", { enumerable: true, get: function () { return moduleLoaders_1.loadAppState; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,GAAG,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,aAAa,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/index.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.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.loadAmplifyRtnAsf = exports.getIsNativeError = exports.getDeviceName = exports.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;\nvar apis_1 = require(\"./apis\");\nObject.defineProperty(exports, \"computeModPow\", { enumerable: true, get: function () { return apis_1.computeModPow; } });\nObject.defineProperty(exports, \"computeS\", { enumerable: true, get: function () { return apis_1.computeS; } });\nObject.defineProperty(exports, \"getOperatingSystem\", { enumerable: true, get: function () { return apis_1.getOperatingSystem; } });\nObject.defineProperty(exports, \"getDeviceName\", { enumerable: true, get: function () { return apis_1.getDeviceName; } });\nObject.defineProperty(exports, \"getIsNativeError\", { enumerable: true, get: function () { return apis_1.getIsNativeError; } });\nvar moduleLoaders_1 = require(\"./moduleLoaders\");\nObject.defineProperty(exports, \"loadAmplifyRtnAsf\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyRtnAsf; } });\nObject.defineProperty(exports, \"loadAmplifyRtnPasskeys\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyRtnPasskeys; } });\nObject.defineProperty(exports, \"loadAmplifyPushNotification\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyPushNotification; } });\nObject.defineProperty(exports, \"loadAmplifyWebBrowser\", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyWebBrowser; } });\nObject.defineProperty(exports, \"loadAsyncStorage\", { enumerable: true, get: function () { return moduleLoaders_1.loadAsyncStorage; } });\nObject.defineProperty(exports, \"loadNetInfo\", { enumerable: true, get: function () { return moduleLoaders_1.loadNetInfo; } });\nObject.defineProperty(exports, \"loadBuffer\", { enumerable: true, get: function () { return moduleLoaders_1.loadBuffer; } });\nObject.defineProperty(exports, \"loadUrlPolyfill\", { enumerable: true, get: function () { return moduleLoaders_1.loadUrlPolyfill; } });\nObject.defineProperty(exports, \"loadGetRandomValues\", { enumerable: true, get: function () { return moduleLoaders_1.loadGetRandomValues; } });\nObject.defineProperty(exports, \"loadBase64\", { enumerable: true, get: function () { return moduleLoaders_1.loadBase64; } });\nObject.defineProperty(exports, \"loadAppState\", { enumerable: true, get: function () { return moduleLoaders_1.loadAppState; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,eAAe,GAAG,OA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AE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;AACrI,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,qBAAqB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7I,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;AAC3H,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;;"}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
4
4
|
// SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = void 0;
|
|
6
|
+
exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.loadAmplifyRtnAsf = void 0;
|
|
7
|
+
var loadAmplifyRtnAsf_1 = require("./loadAmplifyRtnAsf");
|
|
8
|
+
Object.defineProperty(exports, "loadAmplifyRtnAsf", { enumerable: true, get: function () { return loadAmplifyRtnAsf_1.loadAmplifyRtnAsf; } });
|
|
7
9
|
var loadAmplifyRtnPasskeys_1 = require("./loadAmplifyRtnPasskeys");
|
|
8
10
|
Object.defineProperty(exports, "loadAmplifyRtnPasskeys", { enumerable: true, get: function () { return loadAmplifyRtnPasskeys_1.loadAmplifyRtnPasskeys; } });
|
|
9
11
|
var loadAmplifyPushNotification_1 = require("./loadAmplifyPushNotification");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/moduleLoaders/index.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.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = void 0;\nvar loadAmplifyRtnPasskeys_1 = require(\"./loadAmplifyRtnPasskeys\");\nObject.defineProperty(exports, \"loadAmplifyRtnPasskeys\", { enumerable: true, get: function () { return loadAmplifyRtnPasskeys_1.loadAmplifyRtnPasskeys; } });\nvar loadAmplifyPushNotification_1 = require(\"./loadAmplifyPushNotification\");\nObject.defineProperty(exports, \"loadAmplifyPushNotification\", { enumerable: true, get: function () { return loadAmplifyPushNotification_1.loadAmplifyPushNotification; } });\nvar loadAmplifyWebBrowser_1 = require(\"./loadAmplifyWebBrowser\");\nObject.defineProperty(exports, \"loadAmplifyWebBrowser\", { enumerable: true, get: function () { return loadAmplifyWebBrowser_1.loadAmplifyWebBrowser; } });\nvar loadAsyncStorage_1 = require(\"./loadAsyncStorage\");\nObject.defineProperty(exports, \"loadAsyncStorage\", { enumerable: true, get: function () { return loadAsyncStorage_1.loadAsyncStorage; } });\nvar loadNetInfo_1 = require(\"./loadNetInfo\");\nObject.defineProperty(exports, \"loadNetInfo\", { enumerable: true, get: function () { return loadNetInfo_1.loadNetInfo; } });\nvar loadBuffer_1 = require(\"./loadBuffer\");\nObject.defineProperty(exports, \"loadBuffer\", { enumerable: true, get: function () { return loadBuffer_1.loadBuffer; } });\nvar loadUrlPolyfill_1 = require(\"./loadUrlPolyfill\");\nObject.defineProperty(exports, \"loadUrlPolyfill\", { enumerable: true, get: function () { return loadUrlPolyfill_1.loadUrlPolyfill; } });\nvar loadGetRandomValues_1 = require(\"./loadGetRandomValues\");\nObject.defineProperty(exports, \"loadGetRandomValues\", { enumerable: true, get: function () { return loadGetRandomValues_1.loadGetRandomValues; } });\nvar loadBase64_1 = require(\"./loadBase64\");\nObject.defineProperty(exports, \"loadBase64\", { enumerable: true, get: function () { return loadBase64_1.loadBase64; } });\nvar loadAppState_1 = require(\"./loadAppState\");\nObject.defineProperty(exports, \"loadAppState\", { enumerable: true, get: function () { return loadAppState_1.loadAppState; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,sBAAsB,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/moduleLoaders/index.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.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = exports.loadAmplifyRtnPasskeys = exports.loadAmplifyRtnAsf = void 0;\nvar loadAmplifyRtnAsf_1 = require(\"./loadAmplifyRtnAsf\");\nObject.defineProperty(exports, \"loadAmplifyRtnAsf\", { enumerable: true, get: function () { return loadAmplifyRtnAsf_1.loadAmplifyRtnAsf; } });\nvar loadAmplifyRtnPasskeys_1 = require(\"./loadAmplifyRtnPasskeys\");\nObject.defineProperty(exports, \"loadAmplifyRtnPasskeys\", { enumerable: true, get: function () { return loadAmplifyRtnPasskeys_1.loadAmplifyRtnPasskeys; } });\nvar loadAmplifyPushNotification_1 = require(\"./loadAmplifyPushNotification\");\nObject.defineProperty(exports, \"loadAmplifyPushNotification\", { enumerable: true, get: function () { return loadAmplifyPushNotification_1.loadAmplifyPushNotification; } });\nvar loadAmplifyWebBrowser_1 = require(\"./loadAmplifyWebBrowser\");\nObject.defineProperty(exports, \"loadAmplifyWebBrowser\", { enumerable: true, get: function () { return loadAmplifyWebBrowser_1.loadAmplifyWebBrowser; } });\nvar loadAsyncStorage_1 = require(\"./loadAsyncStorage\");\nObject.defineProperty(exports, \"loadAsyncStorage\", { enumerable: true, get: function () { return loadAsyncStorage_1.loadAsyncStorage; } });\nvar loadNetInfo_1 = require(\"./loadNetInfo\");\nObject.defineProperty(exports, \"loadNetInfo\", { enumerable: true, get: function () { return loadNetInfo_1.loadNetInfo; } });\nvar loadBuffer_1 = require(\"./loadBuffer\");\nObject.defineProperty(exports, \"loadBuffer\", { enumerable: true, get: function () { return loadBuffer_1.loadBuffer; } });\nvar loadUrlPolyfill_1 = require(\"./loadUrlPolyfill\");\nObject.defineProperty(exports, \"loadUrlPolyfill\", { enumerable: true, get: function () { return loadUrlPolyfill_1.loadUrlPolyfill; } });\nvar loadGetRandomValues_1 = require(\"./loadGetRandomValues\");\nObject.defineProperty(exports, \"loadGetRandomValues\", { enumerable: true, get: function () { return loadGetRandomValues_1.loadGetRandomValues; } });\nvar loadBase64_1 = require(\"./loadBase64\");\nObject.defineProperty(exports, \"loadBase64\", { enumerable: true, get: function () { return loadBase64_1.loadBase64; } });\nvar loadAppState_1 = require(\"./loadAppState\");\nObject.defineProperty(exports, \"loadAppState\", { enumerable: true, get: function () { return loadAppState_1.loadAppState; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,GAAG,MAAM;AACnT,IAAI,mBAAmB,GAAG,OAAO,CAAC,qBAAqB,CAAC;AACxD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7I,IAAI,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;AAClE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,wBAAwB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,wBAAwB,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5J,IAAI,6BAA6B,GAAG,OAAO,CAAC,+BAA+B,CAAC;AAC5E,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,6BAA6B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,O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AC,OAAO,EAAE,qBAAqB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC;AACnJ,IAAI,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;AAC1C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;AACxH,IAAI,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;AAC9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.loadAmplifyRtnAsf = void 0;
|
|
7
|
+
const loadAmplifyRtnAsf = () => {
|
|
8
|
+
try {
|
|
9
|
+
// metro bundler requires static string for loading module.
|
|
10
|
+
// See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages
|
|
11
|
+
const module = require('@aws-amplify/rtn-asf')?.module;
|
|
12
|
+
return module;
|
|
13
|
+
}
|
|
14
|
+
catch {
|
|
15
|
+
// Module not installed or linking failed - return undefined for graceful degradation.
|
|
16
|
+
// If @aws-amplify/rtn-asf is expected, ensure it is installed and linked.
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.loadAmplifyRtnAsf = loadAmplifyRtnAsf;
|
|
21
|
+
//# sourceMappingURL=loadAmplifyRtnAsf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadAmplifyRtnAsf.js","sources":["../../../src/moduleLoaders/loadAmplifyRtnAsf.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.loadAmplifyRtnAsf = void 0;\nconst loadAmplifyRtnAsf = () => {\n try {\n // metro bundler requires static string for loading module.\n // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages\n const module = require('@aws-amplify/rtn-asf')?.module;\n return module;\n }\n catch {\n // Module not installed or linking failed - return undefined for graceful degradation.\n // If @aws-amplify/rtn-asf is expected, ensure it is installed and linked.\n return undefined;\n }\n};\nexports.loadAmplifyRtnAsf = loadAmplifyRtnAsf;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,iBAAiB,GAAG,MAAM;AAClC,MAAM,iBAAiB,GAAG,MAAM;AAChC,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,EAAE,MAAM;AAC9D,QAAQ,OAAO,MAAM;AACrB,IAAI;AACJ,IAAI,MAAM;AACV;AACA;AACA,QAAQ,OAAO,SAAS;AACxB,IAAI;AACJ,CAAC;AACD,OAAO,CAAC,iBAAiB,GAAG,iBAAiB;;"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { computeModPow, computeS, getOperatingSystem, getDeviceName, getIsNativeError, } from './apis';
|
|
2
|
-
export { loadAmplifyRtnPasskeys, loadAmplifyPushNotification, loadAmplifyWebBrowser, loadAsyncStorage, loadNetInfo, loadBuffer, loadUrlPolyfill, loadGetRandomValues, loadBase64, loadAppState, } from './moduleLoaders';
|
|
2
|
+
export { loadAmplifyRtnAsf, loadAmplifyRtnPasskeys, loadAmplifyPushNotification, loadAmplifyWebBrowser, loadAsyncStorage, loadNetInfo, loadBuffer, loadUrlPolyfill, loadGetRandomValues, loadBase64, loadAppState, } from './moduleLoaders';
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ export { computeS } from './apis/computeS.mjs';
|
|
|
3
3
|
export { getOperatingSystem } from './apis/getOperatingSystem.mjs';
|
|
4
4
|
export { getDeviceName } from './apis/getDeviceName.mjs';
|
|
5
5
|
export { getIsNativeError } from './apis/getIsNativeError.mjs';
|
|
6
|
+
export { loadAmplifyRtnAsf } from './moduleLoaders/loadAmplifyRtnAsf.mjs';
|
|
6
7
|
export { loadAmplifyRtnPasskeys } from './moduleLoaders/loadAmplifyRtnPasskeys.mjs';
|
|
7
8
|
export { loadAmplifyPushNotification } from './moduleLoaders/loadAmplifyPushNotification.mjs';
|
|
8
9
|
export { loadAmplifyWebBrowser } from './moduleLoaders/loadAmplifyWebBrowser.mjs';
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { loadAmplifyRtnAsf } from './loadAmplifyRtnAsf.mjs';
|
|
1
2
|
export { loadAmplifyRtnPasskeys } from './loadAmplifyRtnPasskeys.mjs';
|
|
2
3
|
export { loadAmplifyPushNotification } from './loadAmplifyPushNotification.mjs';
|
|
3
4
|
export { loadAmplifyWebBrowser } from './loadAmplifyWebBrowser.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
const loadAmplifyRtnAsf = () => {
|
|
4
|
+
try {
|
|
5
|
+
// metro bundler requires static string for loading module.
|
|
6
|
+
// See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages
|
|
7
|
+
const module = require('@aws-amplify/rtn-asf')?.module;
|
|
8
|
+
return module;
|
|
9
|
+
}
|
|
10
|
+
catch {
|
|
11
|
+
// Module not installed or linking failed - return undefined for graceful degradation.
|
|
12
|
+
// If @aws-amplify/rtn-asf is expected, ensure it is installed and linked.
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { loadAmplifyRtnAsf };
|
|
18
|
+
//# sourceMappingURL=loadAmplifyRtnAsf.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadAmplifyRtnAsf.mjs","sources":["../../../src/moduleLoaders/loadAmplifyRtnAsf.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const loadAmplifyRtnAsf = () => {\n try {\n // metro bundler requires static string for loading module.\n // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages\n const module = require('@aws-amplify/rtn-asf')?.module;\n return module;\n }\n catch {\n // Module not installed or linking failed - return undefined for graceful degradation.\n // If @aws-amplify/rtn-asf is expected, ensure it is installed and linked.\n return undefined;\n }\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,iBAAiB,GAAG,MAAM;AACvC,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,EAAE,MAAM;AAC9D,QAAQ,OAAO,MAAM;AACrB,IAAI;AACJ,IAAI,MAAM;AACV;AACA;AACA,QAAQ,OAAO,SAAS;AACxB,IAAI;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/react-native",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2-context-cogs.077566e.0+077566e",
|
|
4
4
|
"description": "React Native core module for aws-amplify",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.mjs",
|
|
@@ -32,22 +32,28 @@
|
|
|
32
32
|
"react-native-url-polyfill": "^3.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
+
"@aws-amplify/rtn-asf": "^1.0.0",
|
|
35
36
|
"@aws-amplify/rtn-passkeys": "^1.0.0",
|
|
36
37
|
"react-native": ">=0.70",
|
|
37
38
|
"react-native-get-random-values": ">=1.8.0"
|
|
38
39
|
},
|
|
39
40
|
"peerDependenciesMeta": {
|
|
41
|
+
"@aws-amplify/rtn-asf": {
|
|
42
|
+
"optional": true
|
|
43
|
+
},
|
|
40
44
|
"@aws-amplify/rtn-passkeys": {
|
|
41
45
|
"optional": true
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
|
-
"@aws-amplify/rtn-
|
|
46
|
-
"@aws-amplify/rtn-
|
|
47
|
-
"@aws-amplify/rtn-
|
|
49
|
+
"@aws-amplify/rtn-asf": "1.0.1-context-cogs.077566e.0+077566e",
|
|
50
|
+
"@aws-amplify/rtn-passkeys": "1.1.2-context-cogs.077566e.0+077566e",
|
|
51
|
+
"@aws-amplify/rtn-push-notification": "1.3.1-context-cogs.077566e.0+077566e",
|
|
52
|
+
"@aws-amplify/rtn-web-browser": "1.3.1-context-cogs.077566e.0+077566e",
|
|
48
53
|
"@react-native-async-storage/async-storage": "^1.17.12",
|
|
49
54
|
"@react-native-community/netinfo": "4.7.0",
|
|
50
55
|
"@types/base-64": "1.0.0",
|
|
56
|
+
"fast-check": "^3.15.0",
|
|
51
57
|
"react-native": "0.72.17",
|
|
52
58
|
"react-native-get-random-values": "1.9.0"
|
|
53
59
|
},
|
|
@@ -70,5 +76,5 @@
|
|
|
70
76
|
"src"
|
|
71
77
|
],
|
|
72
78
|
"source": "src/index",
|
|
73
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "077566e885ed4bd8cc94a6e7ef7f3eda96ec161a"
|
|
74
80
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
export { loadAmplifyRtnAsf } from './loadAmplifyRtnAsf';
|
|
4
5
|
export { loadAmplifyRtnPasskeys } from './loadAmplifyRtnPasskeys';
|
|
5
6
|
export { loadAmplifyPushNotification } from './loadAmplifyPushNotification';
|
|
6
7
|
export { loadAmplifyWebBrowser } from './loadAmplifyWebBrowser';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import type { AmplifyRtnAsfModule } from '@aws-amplify/rtn-asf';
|
|
5
|
+
|
|
6
|
+
export const loadAmplifyRtnAsf = (): AmplifyRtnAsfModule | undefined => {
|
|
7
|
+
try {
|
|
8
|
+
// metro bundler requires static string for loading module.
|
|
9
|
+
// See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages
|
|
10
|
+
const module = require('@aws-amplify/rtn-asf')?.module;
|
|
11
|
+
|
|
12
|
+
return module as AmplifyRtnAsfModule | undefined;
|
|
13
|
+
} catch {
|
|
14
|
+
// Module not installed or linking failed - return undefined for graceful degradation.
|
|
15
|
+
// If @aws-amplify/rtn-asf is expected, ensure it is installed and linked.
|
|
16
|
+
return undefined;
|
|
17
|
+
}
|
|
18
|
+
};
|