@aurum-sdk/core 0.2.8 → 0.3.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 (35) hide show
  1. package/dist/{Aurum-B0Okb4Qv.d.mts → Aurum-BoIhHFKm.d.mts} +25 -2
  2. package/dist/{Aurum-B0Okb4Qv.d.ts → Aurum-BoIhHFKm.d.ts} +25 -2
  3. package/dist/BraveAdapter-ALBZR2RG.js +153 -0
  4. package/dist/BraveAdapter-BPD5PDJH.mjs +153 -0
  5. package/dist/CoinbaseWalletAdapter-BLUJR23D.js +144 -0
  6. package/dist/CoinbaseWalletAdapter-IDB2DFH4.mjs +144 -0
  7. package/dist/EmailAdapter-RUV6JG6Z.mjs +212 -0
  8. package/dist/EmailAdapter-SY65VHGK.js +212 -0
  9. package/dist/MetaMaskAdapter-4V3XM6J2.js +152 -0
  10. package/dist/MetaMaskAdapter-KPNRCMOF.mjs +152 -0
  11. package/dist/PhantomAdapter-7MB32F5M.mjs +151 -0
  12. package/dist/PhantomAdapter-YTN5PUDI.js +151 -0
  13. package/dist/RabbyAdapter-QVNCSWYC.mjs +146 -0
  14. package/dist/RabbyAdapter-SOLYF74M.js +146 -0
  15. package/dist/WalletConnectAdapter-5YL5KFGI.mjs +540 -0
  16. package/dist/WalletConnectAdapter-VMN6R5LO.js +540 -0
  17. package/dist/{chunk-GMFEFDGS.mjs → chunk-222UJ3OP.mjs} +348 -6778
  18. package/dist/chunk-4S5E6KOY.mjs +21 -0
  19. package/dist/{chunk-K64T6WW3.js → chunk-MRORL6L3.js} +420 -6850
  20. package/dist/chunk-PFK6YHOX.mjs +15 -0
  21. package/dist/chunk-QOCN4F47.js +21 -0
  22. package/dist/chunk-RRUPCUSZ.mjs +6558 -0
  23. package/dist/chunk-XUD6VNF7.js +6558 -0
  24. package/dist/chunk-XVRTCAR4.js +15 -0
  25. package/dist/index.d.mts +7 -2
  26. package/dist/index.d.ts +7 -2
  27. package/dist/index.js +304 -1573
  28. package/dist/index.mjs +243 -1512
  29. package/dist/{index.web-Q2L3EMC3.mjs → index.web-NX7JZBIY.mjs} +267 -267
  30. package/dist/{index.web-V7DLWC7H.js → index.web-OPNRZHYZ.js} +267 -267
  31. package/dist/widgets.d.mts +1 -1
  32. package/dist/widgets.d.ts +1 -1
  33. package/dist/widgets.js +14 -12
  34. package/dist/widgets.mjs +3 -1
  35. package/package.json +3 -7
@@ -0,0 +1,15 @@
1
+ import {
2
+ init_polyfills
3
+ } from "./chunk-J6XFKNJN.mjs";
4
+
5
+ // src/utils/platform/isBraveBrowser.ts
6
+ init_polyfills();
7
+ function isBraveBrowser() {
8
+ if (typeof navigator === "undefined") return false;
9
+ return navigator.brave !== void 0;
10
+ }
11
+
12
+ export {
13
+ isBraveBrowser
14
+ };
15
+ //# sourceMappingURL=chunk-PFK6YHOX.mjs.map
@@ -0,0 +1,21 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunkQIPVNM7Tjs = require('./chunk-QIPVNM7T.js');
4
+
5
+ // src/utils/isConfigError.ts
6
+ _chunkQIPVNM7Tjs.init_polyfills.call(void 0, );
7
+ var isConfigError = (error) => {
8
+ const name = _optionalChain([error, 'optionalAccess', _ => _.name]);
9
+ return name === "ConfigError";
10
+ };
11
+ var createConfigError = (adapterName) => {
12
+ const error = new Error(`Missing required project ID for ${adapterName}`);
13
+ error.name = "ConfigError";
14
+ return error;
15
+ };
16
+
17
+
18
+
19
+
20
+ exports.isConfigError = isConfigError; exports.createConfigError = createConfigError;
21
+ //# sourceMappingURL=chunk-QOCN4F47.js.map