@aws-amplify/react-native 1.0.1-unstable.cfbde4c.0 → 1.0.2-unstable.ff4e8d7.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.
Files changed (145) hide show
  1. package/android/build.gradle +1 -1
  2. package/{lib → dist/cjs}/apis/computeModPow.js +3 -2
  3. package/dist/cjs/apis/computeModPow.js.map +1 -0
  4. package/{lib → dist/cjs}/apis/computeS.js +3 -2
  5. package/dist/cjs/apis/computeS.js.map +1 -0
  6. package/{lib → dist/cjs}/apis/getOperatingSystem.js +3 -2
  7. package/dist/cjs/apis/getOperatingSystem.js.map +1 -0
  8. package/{lib → dist/cjs}/apis/index.js +3 -2
  9. package/dist/cjs/apis/index.js.map +1 -0
  10. package/{lib → dist/cjs}/index.js +5 -3
  11. package/dist/cjs/index.js.map +1 -0
  12. package/{lib → dist/cjs}/moduleLoaders/index.js +6 -3
  13. package/dist/cjs/moduleLoaders/index.js.map +1 -0
  14. package/{lib → dist/cjs}/moduleLoaders/loadAmplifyPushNotification.js +3 -2
  15. package/dist/cjs/moduleLoaders/loadAmplifyPushNotification.js.map +1 -0
  16. package/dist/cjs/moduleLoaders/loadAmplifyWebBrowser.js +27 -0
  17. package/dist/cjs/moduleLoaders/loadAmplifyWebBrowser.js.map +1 -0
  18. package/{lib → dist/cjs}/moduleLoaders/loadAppState.js +3 -2
  19. package/dist/cjs/moduleLoaders/loadAppState.js.map +1 -0
  20. package/{lib → dist/cjs}/moduleLoaders/loadAsyncStorage.js +3 -2
  21. package/dist/cjs/moduleLoaders/loadAsyncStorage.js.map +1 -0
  22. package/{lib → dist/cjs}/moduleLoaders/loadBase64.js +3 -2
  23. package/dist/cjs/moduleLoaders/loadBase64.js.map +1 -0
  24. package/{lib → dist/cjs}/moduleLoaders/loadBuffer.js +3 -2
  25. package/dist/cjs/moduleLoaders/loadBuffer.js.map +1 -0
  26. package/{lib → dist/cjs}/moduleLoaders/loadGetRandomValues.js +3 -2
  27. package/dist/cjs/moduleLoaders/loadGetRandomValues.js.map +1 -0
  28. package/{lib → dist/cjs}/moduleLoaders/loadNetInfo.js +3 -2
  29. package/dist/cjs/moduleLoaders/loadNetInfo.js.map +1 -0
  30. package/{lib → dist/cjs}/moduleLoaders/loadUrlPolyfill.js +3 -2
  31. package/dist/cjs/moduleLoaders/loadUrlPolyfill.js.map +1 -0
  32. package/{lib → dist/cjs}/nativeModule.js +3 -2
  33. package/dist/cjs/nativeModule.js.map +1 -0
  34. package/{lib → dist/cjs}/types.js +3 -2
  35. package/dist/cjs/types.js.map +1 -0
  36. package/dist/esm/apis/computeModPow.mjs +8 -0
  37. package/dist/esm/apis/computeModPow.mjs.map +1 -0
  38. package/dist/esm/apis/computeS.mjs +8 -0
  39. package/dist/esm/apis/computeS.mjs.map +1 -0
  40. package/{lib-esm/apis/getOperatingSystem.js → dist/esm/apis/getOperatingSystem.mjs} +6 -3
  41. package/dist/esm/apis/getOperatingSystem.mjs.map +1 -0
  42. package/dist/esm/apis/index.mjs +4 -0
  43. package/dist/esm/apis/index.mjs.map +1 -0
  44. package/dist/esm/index.d.ts +2 -0
  45. package/dist/esm/index.mjs +13 -0
  46. package/dist/esm/index.mjs.map +1 -0
  47. package/{lib → dist/esm}/moduleLoaders/index.d.ts +1 -0
  48. package/dist/esm/moduleLoaders/index.mjs +10 -0
  49. package/dist/esm/moduleLoaders/index.mjs.map +1 -0
  50. package/{lib-esm/moduleLoaders/loadAmplifyPushNotification.js → dist/esm/moduleLoaders/loadAmplifyPushNotification.mjs} +4 -2
  51. package/dist/esm/moduleLoaders/loadAmplifyPushNotification.mjs.map +1 -0
  52. package/dist/esm/moduleLoaders/loadAmplifyWebBrowser.d.ts +3 -0
  53. package/dist/esm/moduleLoaders/loadAmplifyWebBrowser.mjs +24 -0
  54. package/dist/esm/moduleLoaders/loadAmplifyWebBrowser.mjs.map +1 -0
  55. package/{lib-esm/moduleLoaders/loadAppState.js → dist/esm/moduleLoaders/loadAppState.mjs} +6 -3
  56. package/dist/esm/moduleLoaders/loadAppState.mjs.map +1 -0
  57. package/{lib-esm/moduleLoaders/loadAsyncStorage.js → dist/esm/moduleLoaders/loadAsyncStorage.mjs} +4 -2
  58. package/dist/esm/moduleLoaders/loadAsyncStorage.mjs.map +1 -0
  59. package/{lib-esm/moduleLoaders/loadBase64.js → dist/esm/moduleLoaders/loadBase64.mjs} +6 -3
  60. package/dist/esm/moduleLoaders/loadBase64.mjs.map +1 -0
  61. package/{lib → dist/esm}/moduleLoaders/loadBuffer.d.ts +0 -1
  62. package/{lib-esm/moduleLoaders/loadBuffer.js → dist/esm/moduleLoaders/loadBuffer.mjs} +6 -3
  63. package/dist/esm/moduleLoaders/loadBuffer.mjs.map +1 -0
  64. package/{lib-esm/moduleLoaders/loadGetRandomValues.js → dist/esm/moduleLoaders/loadGetRandomValues.mjs} +4 -2
  65. package/dist/esm/moduleLoaders/loadGetRandomValues.mjs.map +1 -0
  66. package/{lib-esm/moduleLoaders/loadNetInfo.js → dist/esm/moduleLoaders/loadNetInfo.mjs} +4 -2
  67. package/dist/esm/moduleLoaders/loadNetInfo.mjs.map +1 -0
  68. package/{lib-esm/moduleLoaders/loadUrlPolyfill.js → dist/esm/moduleLoaders/loadUrlPolyfill.mjs} +4 -2
  69. package/dist/esm/moduleLoaders/loadUrlPolyfill.mjs.map +1 -0
  70. package/{lib-esm/nativeModule.js → dist/esm/nativeModule.mjs} +6 -3
  71. package/dist/esm/nativeModule.mjs.map +1 -0
  72. package/dist/esm/types.mjs +2 -0
  73. package/dist/esm/types.mjs.map +1 -0
  74. package/package.json +16 -17
  75. package/src/index.ts +1 -0
  76. package/src/moduleLoaders/index.ts +1 -0
  77. package/src/moduleLoaders/loadAmplifyWebBrowser.ts +29 -0
  78. package/lib/apis/computeModPow.d.ts +0 -2
  79. package/lib/apis/computeModPow.js.map +0 -1
  80. package/lib/apis/computeS.d.ts +0 -2
  81. package/lib/apis/computeS.js.map +0 -1
  82. package/lib/apis/getOperatingSystem.d.ts +0 -1
  83. package/lib/apis/getOperatingSystem.js.map +0 -1
  84. package/lib/apis/index.d.ts +0 -3
  85. package/lib/apis/index.js.map +0 -1
  86. package/lib/index.d.ts +0 -2
  87. package/lib/index.js.map +0 -1
  88. package/lib/moduleLoaders/index.js.map +0 -1
  89. package/lib/moduleLoaders/loadAmplifyPushNotification.d.ts +0 -21
  90. package/lib/moduleLoaders/loadAmplifyPushNotification.js.map +0 -1
  91. package/lib/moduleLoaders/loadAppState.d.ts +0 -1
  92. package/lib/moduleLoaders/loadAppState.js.map +0 -1
  93. package/lib/moduleLoaders/loadAsyncStorage.d.ts +0 -2
  94. package/lib/moduleLoaders/loadAsyncStorage.js.map +0 -1
  95. package/lib/moduleLoaders/loadBase64.d.ts +0 -5
  96. package/lib/moduleLoaders/loadBase64.js.map +0 -1
  97. package/lib/moduleLoaders/loadBuffer.js.map +0 -1
  98. package/lib/moduleLoaders/loadGetRandomValues.d.ts +0 -1
  99. package/lib/moduleLoaders/loadGetRandomValues.js.map +0 -1
  100. package/lib/moduleLoaders/loadNetInfo.d.ts +0 -4
  101. package/lib/moduleLoaders/loadNetInfo.js.map +0 -1
  102. package/lib/moduleLoaders/loadUrlPolyfill.d.ts +0 -1
  103. package/lib/moduleLoaders/loadUrlPolyfill.js.map +0 -1
  104. package/lib/nativeModule.d.ts +0 -2
  105. package/lib/nativeModule.js.map +0 -1
  106. package/lib/types.d.ts +0 -15
  107. package/lib/types.js.map +0 -1
  108. package/lib-esm/apis/computeModPow.js +0 -5
  109. package/lib-esm/apis/computeModPow.js.map +0 -1
  110. package/lib-esm/apis/computeS.js +0 -5
  111. package/lib-esm/apis/computeS.js.map +0 -1
  112. package/lib-esm/apis/getOperatingSystem.js.map +0 -1
  113. package/lib-esm/apis/index.js +0 -6
  114. package/lib-esm/apis/index.js.map +0 -1
  115. package/lib-esm/index.d.ts +0 -2
  116. package/lib-esm/index.js +0 -5
  117. package/lib-esm/index.js.map +0 -1
  118. package/lib-esm/moduleLoaders/index.d.ts +0 -8
  119. package/lib-esm/moduleLoaders/index.js +0 -11
  120. package/lib-esm/moduleLoaders/index.js.map +0 -1
  121. package/lib-esm/moduleLoaders/loadAmplifyPushNotification.js.map +0 -1
  122. package/lib-esm/moduleLoaders/loadAppState.js.map +0 -1
  123. package/lib-esm/moduleLoaders/loadAsyncStorage.js.map +0 -1
  124. package/lib-esm/moduleLoaders/loadBase64.js.map +0 -1
  125. package/lib-esm/moduleLoaders/loadBuffer.d.ts +0 -22
  126. package/lib-esm/moduleLoaders/loadBuffer.js.map +0 -1
  127. package/lib-esm/moduleLoaders/loadGetRandomValues.js.map +0 -1
  128. package/lib-esm/moduleLoaders/loadNetInfo.js.map +0 -1
  129. package/lib-esm/moduleLoaders/loadUrlPolyfill.js.map +0 -1
  130. package/lib-esm/nativeModule.js.map +0 -1
  131. package/lib-esm/types.js +0 -4
  132. package/lib-esm/types.js.map +0 -1
  133. /package/{lib-esm → dist/esm}/apis/computeModPow.d.ts +0 -0
  134. /package/{lib-esm → dist/esm}/apis/computeS.d.ts +0 -0
  135. /package/{lib-esm → dist/esm}/apis/getOperatingSystem.d.ts +0 -0
  136. /package/{lib-esm → dist/esm}/apis/index.d.ts +0 -0
  137. /package/{lib-esm → dist/esm}/moduleLoaders/loadAmplifyPushNotification.d.ts +0 -0
  138. /package/{lib-esm → dist/esm}/moduleLoaders/loadAppState.d.ts +0 -0
  139. /package/{lib-esm → dist/esm}/moduleLoaders/loadAsyncStorage.d.ts +0 -0
  140. /package/{lib-esm → dist/esm}/moduleLoaders/loadBase64.d.ts +0 -0
  141. /package/{lib-esm → dist/esm}/moduleLoaders/loadGetRandomValues.d.ts +0 -0
  142. /package/{lib-esm → dist/esm}/moduleLoaders/loadNetInfo.d.ts +0 -0
  143. /package/{lib-esm → dist/esm}/moduleLoaders/loadUrlPolyfill.d.ts +0 -0
  144. /package/{lib-esm → dist/esm}/nativeModule.d.ts +0 -0
  145. /package/{lib-esm → dist/esm}/types.d.ts +0 -0
@@ -43,7 +43,7 @@ def getExtOrIntegerDefault(name) {
43
43
 
44
44
  android {
45
45
  if (agpVersion >= 7) {
46
- namespace 'com.amazonaws.amplify'
46
+ namespace 'com.amazonaws.amplify.rtncore'
47
47
  }
48
48
 
49
49
  compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.computeModPow = void 0;
6
7
  const nativeModule_1 = require("../nativeModule");
7
8
  const computeModPow = payload => nativeModule_1.nativeModule.computeModPow(payload);
8
9
  exports.computeModPow = computeModPow;
9
- //# sourceMappingURL=computeModPow.js.map
10
+ //# sourceMappingURL=computeModPow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeModPow.js","sources":["../../../src/apis/computeModPow.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.computeModPow = void 0;\nconst nativeModule_1 = require(\"../nativeModule\");\nconst computeModPow = payload => nativeModule_1.nativeModule.computeModPow(payload);\nexports.computeModPow = computeModPow;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,aAAa,GAAG,KAAK,CAAC,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAClD,MAAM,aAAa,GAAG,OAAO,IAAI,cAAc,CAAC,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AACpF,OAAO,CAAC,aAAa,GAAG,aAAa;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.computeS = void 0;
6
7
  const nativeModule_1 = require("../nativeModule");
7
8
  const computeS = payload => nativeModule_1.nativeModule.computeS(payload);
8
9
  exports.computeS = computeS;
9
- //# sourceMappingURL=computeS.js.map
10
+ //# sourceMappingURL=computeS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeS.js","sources":["../../../src/apis/computeS.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.computeS = void 0;\nconst nativeModule_1 = require(\"../nativeModule\");\nconst computeS = payload => nativeModule_1.nativeModule.computeS(payload);\nexports.computeS = computeS;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,QAAQ,GAAG,KAAK,CAAC,CAAC;AAC1B,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAClD,MAAM,QAAQ,GAAG,OAAO,IAAI,cAAc,CAAC,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC1E,OAAO,CAAC,QAAQ,GAAG,QAAQ;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.getOperatingSystem = void 0;
6
7
  const react_native_1 = require("react-native");
7
8
  const getOperatingSystem = () => react_native_1.Platform.OS;
8
9
  exports.getOperatingSystem = getOperatingSystem;
9
- //# sourceMappingURL=getOperatingSystem.js.map
10
+ //# sourceMappingURL=getOperatingSystem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOperatingSystem.js","sources":["../../../src/apis/getOperatingSystem.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.getOperatingSystem = void 0;\nconst react_native_1 = require(\"react-native\");\nconst getOperatingSystem = () => react_native_1.Platform.OS;\nexports.getOperatingSystem = getOperatingSystem;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,kBAAkB,GAAG,KAAK,CAAC,CAAC;AACpC,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,kBAAkB,GAAG,MAAM,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;AAC5D,OAAO,CAAC,kBAAkB,GAAG,kBAAkB;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,4 +10,4 @@ var computeS_1 = require("./computeS");
9
10
  Object.defineProperty(exports, "computeS", { enumerable: true, get: function () { return computeS_1.computeS; } });
10
11
  var getOperatingSystem_1 = require("./getOperatingSystem");
11
12
  Object.defineProperty(exports, "getOperatingSystem", { enumerable: true, get: function () { return getOperatingSystem_1.getOperatingSystem; } });
12
- //# sourceMappingURL=index.js.map
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/apis/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.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;\nvar computeModPow_1 = require(\"./computeModPow\");\nObject.defineProperty(exports, \"computeModPow\", { enumerable: true, get: function () { return computeModPow_1.computeModPow; } });\nvar computeS_1 = require(\"./computeS\");\nObject.defineProperty(exports, \"computeS\", { enumerable: true, get: function () { return computeS_1.computeS; } });\nvar getOperatingSystem_1 = require(\"./getOperatingSystem\");\nObject.defineProperty(exports, \"getOperatingSystem\", { enumerable: true, get: function () { return getOperatingSystem_1.getOperatingSystem; } });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,aAAa,GAAG,KAAK,CAAC,CAAC;AAC/E,IAAI,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AACjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC;AAClI,IAAI,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AACvC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;AACnH,IAAI,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;AAC3D,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,oBAAoB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,EAAE,CAAC;;"}
@@ -1,14 +1,16 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyPushNotification = 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.getOperatingSystem = exports.computeS = exports.computeModPow = void 0;
6
7
  var apis_1 = require("./apis");
7
8
  Object.defineProperty(exports, "computeModPow", { enumerable: true, get: function () { return apis_1.computeModPow; } });
8
9
  Object.defineProperty(exports, "computeS", { enumerable: true, get: function () { return apis_1.computeS; } });
9
10
  Object.defineProperty(exports, "getOperatingSystem", { enumerable: true, get: function () { return apis_1.getOperatingSystem; } });
10
11
  var moduleLoaders_1 = require("./moduleLoaders");
11
12
  Object.defineProperty(exports, "loadAmplifyPushNotification", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyPushNotification; } });
13
+ Object.defineProperty(exports, "loadAmplifyWebBrowser", { enumerable: true, get: function () { return moduleLoaders_1.loadAmplifyWebBrowser; } });
12
14
  Object.defineProperty(exports, "loadAsyncStorage", { enumerable: true, get: function () { return moduleLoaders_1.loadAsyncStorage; } });
13
15
  Object.defineProperty(exports, "loadNetInfo", { enumerable: true, get: function () { return moduleLoaders_1.loadNetInfo; } });
14
16
  Object.defineProperty(exports, "loadBuffer", { enumerable: true, get: function () { return moduleLoaders_1.loadBuffer; } });
@@ -16,4 +18,4 @@ Object.defineProperty(exports, "loadUrlPolyfill", { enumerable: true, get: funct
16
18
  Object.defineProperty(exports, "loadGetRandomValues", { enumerable: true, get: function () { return moduleLoaders_1.loadGetRandomValues; } });
17
19
  Object.defineProperty(exports, "loadBase64", { enumerable: true, get: function () { return moduleLoaders_1.loadBase64; } });
18
20
  Object.defineProperty(exports, "loadAppState", { enumerable: true, get: function () { return moduleLoaders_1.loadAppState; } });
19
- //# sourceMappingURL=index.js.map
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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.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; } });\nvar moduleLoaders_1 = require(\"./moduleLoaders\");\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,CAAC;AAC9D,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,kBAAkB,GAAG,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,aAAa,GAAG,KAAK,CAAC,CAAC;AAC/T,IAAI,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC/B,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,MAAM,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC;AACzH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/G,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,oBAAoB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,MAAM,CAAC,kBAAkB,CAAC,EAAE,EAAE,CAAC,CAAC;AACnI,IAAI,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AACjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,6BAA6B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,2BAA2B,CAAC,EAAE,EAAE,CAAC,CAAC;AAC9J,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,uBAAuB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,qBAAqB,CAAC,EAAE,EAAE,CAAC,CAAC;AAClJ,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,kBAAkB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;AACxI,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;AAC9H,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5H,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,CAAC;AACtI,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,qBAAqB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,CAAC,CAAC;AAC9I,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5H,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,eAAe,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC;;"}
@@ -1,10 +1,13 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyPushNotification = void 0;
6
+ exports.loadAppState = exports.loadBase64 = exports.loadGetRandomValues = exports.loadUrlPolyfill = exports.loadBuffer = exports.loadNetInfo = exports.loadAsyncStorage = exports.loadAmplifyWebBrowser = exports.loadAmplifyPushNotification = void 0;
6
7
  var loadAmplifyPushNotification_1 = require("./loadAmplifyPushNotification");
7
8
  Object.defineProperty(exports, "loadAmplifyPushNotification", { enumerable: true, get: function () { return loadAmplifyPushNotification_1.loadAmplifyPushNotification; } });
9
+ var loadAmplifyWebBrowser_1 = require("./loadAmplifyWebBrowser");
10
+ Object.defineProperty(exports, "loadAmplifyWebBrowser", { enumerable: true, get: function () { return loadAmplifyWebBrowser_1.loadAmplifyWebBrowser; } });
8
11
  var loadAsyncStorage_1 = require("./loadAsyncStorage");
9
12
  Object.defineProperty(exports, "loadAsyncStorage", { enumerable: true, get: function () { return loadAsyncStorage_1.loadAsyncStorage; } });
10
13
  var loadNetInfo_1 = require("./loadNetInfo");
@@ -19,4 +22,4 @@ var loadBase64_1 = require("./loadBase64");
19
22
  Object.defineProperty(exports, "loadBase64", { enumerable: true, get: function () { return loadBase64_1.loadBase64; } });
20
23
  var loadAppState_1 = require("./loadAppState");
21
24
  Object.defineProperty(exports, "loadAppState", { enumerable: true, get: function () { return loadAppState_1.loadAppState; } });
22
- //# sourceMappingURL=index.js.map
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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 = void 0;\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,CAAC;AAC9D,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,KAAK,CAAC,CAAC;AACvP,IAAI,6BAA6B,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAC7E,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,6BAA6B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,6BAA6B,CAAC,2BAA2B,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5K,IAAI,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;AACjE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,uBAAuB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,uBAAuB,CAAC,qBAAqB,CAAC,EAAE,EAAE,CAAC,CAAC;AAC1J,IAAI,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AACvD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,kBAAkB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;AAC3I,IAAI,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5H,IAAI,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC3C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,YAAY,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;AACzH,IAAI,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AACrD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,iBAAiB,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,CAAC;AACxI,IAAI,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAC7D,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,qBAAqB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,mBAAmB,CAAC,EAAE,EAAE,CAAC,CAAC;AACpJ,IAAI,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC3C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,YAAY,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;AACzH,IAAI,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC/C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,cAAc,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,4 +24,4 @@ const loadAmplifyPushNotification = () => {
23
24
  }
24
25
  };
25
26
  exports.loadAmplifyPushNotification = loadAmplifyPushNotification;
26
- //# sourceMappingURL=loadAmplifyPushNotification.js.map
27
+ //# sourceMappingURL=loadAmplifyPushNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAmplifyPushNotification.js","sources":["../../../src/moduleLoaders/loadAmplifyPushNotification.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.loadAmplifyPushNotification = void 0;\nconst loadAmplifyPushNotification = () => {\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-push-notification')\n ?.module;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@aws-amplify/rtn-push-notification` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-push-notification');\n throw new Error(message);\n }\n};\nexports.loadAmplifyPushNotification = loadAmplifyPushNotification;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,2BAA2B,GAAG,KAAK,CAAC,CAAC;AAC7C,MAAM,2BAA2B,GAAG,MAAM;AAC1C,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,oCAAoC,CAAC;AACpE,cAAc,MAAM,CAAC;AACrB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;AAChG,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,oCAAoC,CAAC,CAAC;AAC9F,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,2BAA2B,GAAG,2BAA2B;;"}
@@ -0,0 +1,27 @@
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.loadAmplifyWebBrowser = void 0;
7
+ const loadAmplifyWebBrowser = () => {
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-web-browser')
12
+ ?.module;
13
+ if (module) {
14
+ return module;
15
+ }
16
+ throw new Error('Ensure `@aws-amplify/rtn-web-browser` is installed and linked.');
17
+ }
18
+ catch (e) {
19
+ // The error parsing logic cannot be extracted with metro as the `require`
20
+ // would be confused when there is a `import` in the same file importing
21
+ // another module and that causes an error
22
+ const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-web-browser');
23
+ throw new Error(message);
24
+ }
25
+ };
26
+ exports.loadAmplifyWebBrowser = loadAmplifyWebBrowser;
27
+ //# sourceMappingURL=loadAmplifyWebBrowser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAmplifyWebBrowser.js","sources":["../../../src/moduleLoaders/loadAmplifyWebBrowser.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.loadAmplifyWebBrowser = void 0;\nconst loadAmplifyWebBrowser = () => {\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-web-browser')\n ?.module;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@aws-amplify/rtn-web-browser` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-web-browser');\n throw new Error(message);\n }\n};\nexports.loadAmplifyWebBrowser = loadAmplifyWebBrowser;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,qBAAqB,GAAG,KAAK,CAAC,CAAC;AACvC,MAAM,qBAAqB,GAAG,MAAM;AACpC,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC;AAC9D,cAAc,MAAM,CAAC;AACrB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;AAC1F,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,8BAA8B,CAAC,CAAC;AACxF,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,qBAAqB,GAAG,qBAAqB;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.loadAppState = void 0;
6
7
  const react_native_1 = require("react-native");
7
8
  const loadAppState = () => react_native_1.AppState;
8
9
  exports.loadAppState = loadAppState;
9
- //# sourceMappingURL=loadAppState.js.map
10
+ //# sourceMappingURL=loadAppState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAppState.js","sources":["../../../src/moduleLoaders/loadAppState.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 = void 0;\nconst react_native_1 = require(\"react-native\");\nconst loadAppState = () => react_native_1.AppState;\nexports.loadAppState = loadAppState;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC;AAC9B,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,YAAY,GAAG,MAAM,cAAc,CAAC,QAAQ,CAAC;AACnD,OAAO,CAAC,YAAY,GAAG,YAAY;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,4 +24,4 @@ const loadAsyncStorage = () => {
23
24
  }
24
25
  };
25
26
  exports.loadAsyncStorage = loadAsyncStorage;
26
- //# sourceMappingURL=loadAsyncStorage.js.map
27
+ //# sourceMappingURL=loadAsyncStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAsyncStorage.js","sources":["../../../src/moduleLoaders/loadAsyncStorage.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.loadAsyncStorage = void 0;\nconst loadAsyncStorage = () => {\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('@react-native-async-storage/async-storage')\n ?.default;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@react-native-async-storage/async-storage` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@react-native-async-storage/async-storage');\n throw new Error(message);\n }\n};\nexports.loadAsyncStorage = loadAsyncStorage;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,gBAAgB,GAAG,KAAK,CAAC,CAAC;AAClC,MAAM,gBAAgB,GAAG,MAAM;AAC/B,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,2CAA2C,CAAC;AAC3E,cAAc,OAAO,CAAC;AACtB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,6EAA6E,CAAC,CAAC;AACvG,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,2CAA2C,CAAC,CAAC;AACrG,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,gBAAgB,GAAG,gBAAgB;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.loadBase64 = void 0;
6
7
  const base_64_1 = require("base-64");
7
8
  const loadBase64 = () => ({ decode: base_64_1.decode, encode: base_64_1.encode });
8
9
  exports.loadBase64 = loadBase64;
9
- //# sourceMappingURL=loadBase64.js.map
10
+ //# sourceMappingURL=loadBase64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadBase64.js","sources":["../../../src/moduleLoaders/loadBase64.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.loadBase64 = void 0;\nconst base_64_1 = require(\"base-64\");\nconst loadBase64 = () => ({ decode: base_64_1.decode, encode: base_64_1.encode });\nexports.loadBase64 = loadBase64;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC;AAC5B,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AACrC,MAAM,UAAU,GAAG,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC;AAClF,OAAO,CAAC,UAAU,GAAG,UAAU;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +7,4 @@ exports.loadBuffer = void 0;
6
7
  const buffer_1 = require("buffer");
7
8
  const loadBuffer = () => buffer_1.Buffer;
8
9
  exports.loadBuffer = loadBuffer;
9
- //# sourceMappingURL=loadBuffer.js.map
10
+ //# sourceMappingURL=loadBuffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadBuffer.js","sources":["../../../src/moduleLoaders/loadBuffer.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.loadBuffer = void 0;\nconst buffer_1 = require(\"buffer\");\nconst loadBuffer = () => buffer_1.Buffer;\nexports.loadBuffer = loadBuffer;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC;AAC5B,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACnC,MAAM,UAAU,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;AACzC,OAAO,CAAC,UAAU,GAAG,UAAU;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,4 +19,4 @@ const loadGetRandomValues = () => {
18
19
  }
19
20
  };
20
21
  exports.loadGetRandomValues = loadGetRandomValues;
21
- //# sourceMappingURL=loadGetRandomValues.js.map
22
+ //# sourceMappingURL=loadGetRandomValues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadGetRandomValues.js","sources":["../../../src/moduleLoaders/loadGetRandomValues.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.loadGetRandomValues = void 0;\nconst loadGetRandomValues = () => {\n try {\n // metro bundler requires static string for loading module.\n // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages\n require('react-native-get-random-values');\n }\n catch (e) {\n // The error parsing logic cannot be extract as with metro the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes error\n const message = e.message.replace(/undefined/g, 'react-native-get-random-values');\n throw new Error(message);\n }\n};\nexports.loadGetRandomValues = loadGetRandomValues;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,mBAAmB,GAAG,KAAK,CAAC,CAAC;AACrC,MAAM,mBAAmB,GAAG,MAAM;AAClC,IAAI,IAAI;AACR;AACA;AACA,QAAQ,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAClD,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,gCAAgC,CAAC,CAAC;AAC1F,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,mBAAmB,GAAG,mBAAmB;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,4 +24,4 @@ const loadNetInfo = () => {
23
24
  }
24
25
  };
25
26
  exports.loadNetInfo = loadNetInfo;
26
- //# sourceMappingURL=loadNetInfo.js.map
27
+ //# sourceMappingURL=loadNetInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadNetInfo.js","sources":["../../../src/moduleLoaders/loadNetInfo.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.loadNetInfo = void 0;\nconst loadNetInfo = () => {\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('@react-native-community/netinfo')\n ?.default;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@react-native-community/netinfo` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extract as with metro the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes error\n const message = e.message.replace(/undefined/g, '@react-native-community/netinfo');\n throw new Error(message);\n }\n};\nexports.loadNetInfo = loadNetInfo;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC,CAAC;AAC7B,MAAM,WAAW,GAAG,MAAM;AAC1B,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,iCAAiC,CAAC;AACjE,cAAc,OAAO,CAAC;AACtB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;AAC7F,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,iCAAiC,CAAC,CAAC;AAC3F,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,WAAW,GAAG,WAAW;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,4 +19,4 @@ const loadUrlPolyfill = () => {
18
19
  }
19
20
  };
20
21
  exports.loadUrlPolyfill = loadUrlPolyfill;
21
- //# sourceMappingURL=loadUrlPolyfill.js.map
22
+ //# sourceMappingURL=loadUrlPolyfill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadUrlPolyfill.js","sources":["../../../src/moduleLoaders/loadUrlPolyfill.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.loadUrlPolyfill = void 0;\nconst loadUrlPolyfill = () => {\n try {\n // metro bundler requires static string for loading module.\n // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages\n require('react-native-url-polyfill/auto');\n }\n catch (e) {\n // The error parsing logic cannot be extract as with metro the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes error\n const message = e.message.replace(/undefined/g, 'react-native-url-polyfill');\n throw new Error(message);\n }\n};\nexports.loadUrlPolyfill = loadUrlPolyfill;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,eAAe,GAAG,KAAK,CAAC,CAAC;AACjC,MAAM,eAAe,GAAG,MAAM;AAC9B,IAAI,IAAI;AACR;AACA;AACA,QAAQ,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAClD,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,2BAA2B,CAAC,CAAC;AACrF,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL,CAAC,CAAC;AACF,OAAO,CAAC,eAAe,GAAG,eAAe;;"}
@@ -1,4 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15,4 +16,4 @@ exports.nativeModule = react_native_1.NativeModules.AmplifyRTNCore
15
16
  throw new Error(LINKING_ERROR);
16
17
  },
17
18
  });
18
- //# sourceMappingURL=nativeModule.js.map
19
+ //# sourceMappingURL=nativeModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeModule.js","sources":["../../src/nativeModule.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.nativeModule = void 0;\nconst react_native_1 = require(\"react-native\");\nconst LINKING_ERROR = `The package '@aws-amplify/react-native' doesn't seem to be linked. Make sure: \\n\\n` +\n react_native_1.Platform.select({ ios: \"- You have run 'pod install'\\n\", default: '' }) +\n '- You rebuilt the app after installing the package\\n' +\n '- You are not using Expo Go\\n';\nexports.nativeModule = react_native_1.NativeModules.AmplifyRTNCore\n ? react_native_1.NativeModules.AmplifyRTNCore\n : new Proxy({}, {\n get() {\n throw new Error(LINKING_ERROR);\n },\n });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC;AAC9B,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,aAAa,GAAG,CAAC,kFAAkF,CAAC;AAC1G,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,gCAAgC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC1F,IAAI,sDAAsD;AAC1D,IAAI,+BAA+B,CAAC;AACpC,OAAO,CAAC,YAAY,GAAG,cAAc,CAAC,aAAa,CAAC,cAAc;AAClE,MAAM,cAAc,CAAC,aAAa,CAAC,cAAc;AACjD,MAAM,IAAI,KAAK,CAAC,EAAE,EAAE;AACpB,QAAQ,GAAG,GAAG;AACd,YAAY,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;AAC3C,SAAS;AACT,KAAK,CAAC;;"}
@@ -1,5 +1,6 @@
1
- "use strict";
1
+ 'use strict';
2
+
2
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
4
  // SPDX-License-Identifier: Apache-2.0
4
5
  Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=types.js.map
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sources":["../../src/types.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 });\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;"}
@@ -0,0 +1,8 @@
1
+ import { nativeModule } from '../nativeModule.mjs';
2
+
3
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ // SPDX-License-Identifier: Apache-2.0
5
+ const computeModPow = payload => nativeModule.computeModPow(payload);
6
+
7
+ export { computeModPow };
8
+ //# sourceMappingURL=computeModPow.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeModPow.mjs","sources":["../../../src/apis/computeModPow.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { nativeModule } from '../nativeModule';\nexport const computeModPow = payload => nativeModule.computeModPow(payload);\n"],"names":[],"mappings":";;AAAA;AACA;AAEY,MAAC,aAAa,GAAG,OAAO,IAAI,YAAY,CAAC,aAAa,CAAC,OAAO;;;;"}
@@ -0,0 +1,8 @@
1
+ import { nativeModule } from '../nativeModule.mjs';
2
+
3
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ // SPDX-License-Identifier: Apache-2.0
5
+ const computeS = payload => nativeModule.computeS(payload);
6
+
7
+ export { computeS };
8
+ //# sourceMappingURL=computeS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeS.mjs","sources":["../../../src/apis/computeS.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { nativeModule } from '../nativeModule';\nexport const computeS = payload => nativeModule.computeS(payload);\n"],"names":[],"mappings":";;AAAA;AACA;AAEY,MAAC,QAAQ,GAAG,OAAO,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO;;;;"}
@@ -1,5 +1,8 @@
1
+ import { Platform } from 'react-native';
2
+
1
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
4
  // SPDX-License-Identifier: Apache-2.0
3
- import { Platform } from 'react-native';
4
- export const getOperatingSystem = () => Platform.OS;
5
- //# sourceMappingURL=getOperatingSystem.js.map
5
+ const getOperatingSystem = () => Platform.OS;
6
+
7
+ export { getOperatingSystem };
8
+ //# sourceMappingURL=getOperatingSystem.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOperatingSystem.mjs","sources":["../../../src/apis/getOperatingSystem.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Platform } from 'react-native';\nexport const getOperatingSystem = () => Platform.OS;\n"],"names":[],"mappings":";;AAAA;AACA;AAEY,MAAC,kBAAkB,GAAG,MAAM,QAAQ,CAAC;;;;"}
@@ -0,0 +1,4 @@
1
+ export { computeModPow } from './computeModPow.mjs';
2
+ export { computeS } from './computeS.mjs';
3
+ export { getOperatingSystem } from './getOperatingSystem.mjs';
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,2 @@
1
+ export { computeModPow, computeS, getOperatingSystem } from './apis';
2
+ export { loadAmplifyPushNotification, loadAmplifyWebBrowser, loadAsyncStorage, loadNetInfo, loadBuffer, loadUrlPolyfill, loadGetRandomValues, loadBase64, loadAppState, } from './moduleLoaders';
@@ -0,0 +1,13 @@
1
+ export { computeModPow } from './apis/computeModPow.mjs';
2
+ export { computeS } from './apis/computeS.mjs';
3
+ export { getOperatingSystem } from './apis/getOperatingSystem.mjs';
4
+ export { loadAmplifyPushNotification } from './moduleLoaders/loadAmplifyPushNotification.mjs';
5
+ export { loadAmplifyWebBrowser } from './moduleLoaders/loadAmplifyWebBrowser.mjs';
6
+ export { loadAsyncStorage } from './moduleLoaders/loadAsyncStorage.mjs';
7
+ export { loadNetInfo } from './moduleLoaders/loadNetInfo.mjs';
8
+ export { loadBuffer } from './moduleLoaders/loadBuffer.mjs';
9
+ export { loadUrlPolyfill } from './moduleLoaders/loadUrlPolyfill.mjs';
10
+ export { loadGetRandomValues } from './moduleLoaders/loadGetRandomValues.mjs';
11
+ export { loadBase64 } from './moduleLoaders/loadBase64.mjs';
12
+ export { loadAppState } from './moduleLoaders/loadAppState.mjs';
13
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,4 +1,5 @@
1
1
  export { loadAmplifyPushNotification } from './loadAmplifyPushNotification';
2
+ export { loadAmplifyWebBrowser } from './loadAmplifyWebBrowser';
2
3
  export { loadAsyncStorage } from './loadAsyncStorage';
3
4
  export { loadNetInfo } from './loadNetInfo';
4
5
  export { loadBuffer } from './loadBuffer';
@@ -0,0 +1,10 @@
1
+ export { loadAmplifyPushNotification } from './loadAmplifyPushNotification.mjs';
2
+ export { loadAmplifyWebBrowser } from './loadAmplifyWebBrowser.mjs';
3
+ export { loadAsyncStorage } from './loadAsyncStorage.mjs';
4
+ export { loadNetInfo } from './loadNetInfo.mjs';
5
+ export { loadBuffer } from './loadBuffer.mjs';
6
+ export { loadUrlPolyfill } from './loadUrlPolyfill.mjs';
7
+ export { loadGetRandomValues } from './loadGetRandomValues.mjs';
8
+ export { loadBase64 } from './loadBase64.mjs';
9
+ export { loadAppState } from './loadAppState.mjs';
10
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- export const loadAmplifyPushNotification = () => {
3
+ const loadAmplifyPushNotification = () => {
4
4
  try {
5
5
  // metro bundler requires static string for loading module.
6
6
  // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages
@@ -19,4 +19,6 @@ export const loadAmplifyPushNotification = () => {
19
19
  throw new Error(message);
20
20
  }
21
21
  };
22
- //# sourceMappingURL=loadAmplifyPushNotification.js.map
22
+
23
+ export { loadAmplifyPushNotification };
24
+ //# sourceMappingURL=loadAmplifyPushNotification.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAmplifyPushNotification.mjs","sources":["../../../src/moduleLoaders/loadAmplifyPushNotification.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const loadAmplifyPushNotification = () => {\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-push-notification')\n ?.module;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@aws-amplify/rtn-push-notification` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-push-notification');\n throw new Error(message);\n }\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,2BAA2B,GAAG,MAAM;AACjD,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,oCAAoC,CAAC;AACpE,cAAc,MAAM,CAAC;AACrB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;AAChG,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,oCAAoC,CAAC,CAAC;AAC9F,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL;;;;"}
@@ -0,0 +1,3 @@
1
+ export declare const loadAmplifyWebBrowser: () => {
2
+ openAuthSessionAsync: (url: string, redirectUrls: string[], prefersEphemeralSession?: boolean | undefined) => Promise<string | null | undefined>;
3
+ };
@@ -0,0 +1,24 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ const loadAmplifyWebBrowser = () => {
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-web-browser')
8
+ ?.module;
9
+ if (module) {
10
+ return module;
11
+ }
12
+ throw new Error('Ensure `@aws-amplify/rtn-web-browser` is installed and linked.');
13
+ }
14
+ catch (e) {
15
+ // The error parsing logic cannot be extracted with metro as the `require`
16
+ // would be confused when there is a `import` in the same file importing
17
+ // another module and that causes an error
18
+ const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-web-browser');
19
+ throw new Error(message);
20
+ }
21
+ };
22
+
23
+ export { loadAmplifyWebBrowser };
24
+ //# sourceMappingURL=loadAmplifyWebBrowser.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAmplifyWebBrowser.mjs","sources":["../../../src/moduleLoaders/loadAmplifyWebBrowser.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const loadAmplifyWebBrowser = () => {\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-web-browser')\n ?.module;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@aws-amplify/rtn-web-browser` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@aws-amplify/rtn-web-browser');\n throw new Error(message);\n }\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,qBAAqB,GAAG,MAAM;AAC3C,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC;AAC9D,cAAc,MAAM,CAAC;AACrB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;AAC1F,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,8BAA8B,CAAC,CAAC;AACxF,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL;;;;"}
@@ -1,5 +1,8 @@
1
+ import { AppState } from 'react-native';
2
+
1
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
4
  // SPDX-License-Identifier: Apache-2.0
3
- import { AppState } from 'react-native';
4
- export const loadAppState = () => AppState;
5
- //# sourceMappingURL=loadAppState.js.map
5
+ const loadAppState = () => AppState;
6
+
7
+ export { loadAppState };
8
+ //# sourceMappingURL=loadAppState.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAppState.mjs","sources":["../../../src/moduleLoaders/loadAppState.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { AppState } from 'react-native';\nexport const loadAppState = () => AppState;\n"],"names":[],"mappings":";;AAAA;AACA;AAEY,MAAC,YAAY,GAAG,MAAM;;;;"}
@@ -1,6 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- export const loadAsyncStorage = () => {
3
+ const loadAsyncStorage = () => {
4
4
  try {
5
5
  // metro bundler requires static string for loading module.
6
6
  // See: https://facebook.github.io/metro/docs/configuration/#dynamicdepsinpackages
@@ -19,4 +19,6 @@ export const loadAsyncStorage = () => {
19
19
  throw new Error(message);
20
20
  }
21
21
  };
22
- //# sourceMappingURL=loadAsyncStorage.js.map
22
+
23
+ export { loadAsyncStorage };
24
+ //# sourceMappingURL=loadAsyncStorage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadAsyncStorage.mjs","sources":["../../../src/moduleLoaders/loadAsyncStorage.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const loadAsyncStorage = () => {\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('@react-native-async-storage/async-storage')\n ?.default;\n if (module) {\n return module;\n }\n throw new Error('Ensure `@react-native-async-storage/async-storage` is installed and linked.');\n }\n catch (e) {\n // The error parsing logic cannot be extracted with metro as the `require`\n // would be confused when there is a `import` in the same file importing\n // another module and that causes an error\n const message = e.message.replace(/undefined/g, '@react-native-async-storage/async-storage');\n throw new Error(message);\n }\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,gBAAgB,GAAG,MAAM;AACtC,IAAI,IAAI;AACR;AACA;AACA,QAAQ,MAAM,MAAM,GAAG,OAAO,CAAC,2CAA2C,CAAC;AAC3E,cAAc,OAAO,CAAC;AACtB,QAAQ,IAAI,MAAM,EAAE;AACpB,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,IAAI,KAAK,CAAC,6EAA6E,CAAC,CAAC;AACvG,KAAK;AACL,IAAI,OAAO,CAAC,EAAE;AACd;AACA;AACA;AACA,QAAQ,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,2CAA2C,CAAC,CAAC;AACrG,QAAQ,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,KAAK;AACL;;;;"}