@metamask/profile-sync-controller 0.0.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/CHANGELOG.md +10 -0
- package/LICENSE +20 -0
- package/README.md +15 -0
- package/dist/chunk-2FZSWVHT.mjs +11 -0
- package/dist/chunk-2FZSWVHT.mjs.map +1 -0
- package/dist/chunk-4NGEEDGV.mjs +126 -0
- package/dist/chunk-4NGEEDGV.mjs.map +1 -0
- package/dist/chunk-5EBUFNAN.mjs +55 -0
- package/dist/chunk-5EBUFNAN.mjs.map +1 -0
- package/dist/chunk-5XSXZTED.mjs +57 -0
- package/dist/chunk-5XSXZTED.mjs.map +1 -0
- package/dist/chunk-6X6I3HZU.js +142 -0
- package/dist/chunk-6X6I3HZU.js.map +1 -0
- package/dist/chunk-BARZBXO7.js +7 -0
- package/dist/chunk-BARZBXO7.js.map +1 -0
- package/dist/chunk-BHVT2QEA.mjs +47 -0
- package/dist/chunk-BHVT2QEA.mjs.map +1 -0
- package/dist/chunk-CFST6GWE.js +11 -0
- package/dist/chunk-CFST6GWE.js.map +1 -0
- package/dist/chunk-CYGZ4WLJ.mjs +126 -0
- package/dist/chunk-CYGZ4WLJ.mjs.map +1 -0
- package/dist/chunk-CZ7YK35S.mjs +142 -0
- package/dist/chunk-CZ7YK35S.mjs.map +1 -0
- package/dist/chunk-DEATIRII.js +1 -0
- package/dist/chunk-DEATIRII.js.map +1 -0
- package/dist/chunk-GQLHSQGZ.js +47 -0
- package/dist/chunk-GQLHSQGZ.js.map +1 -0
- package/dist/chunk-GVMIXMYB.mjs +67 -0
- package/dist/chunk-GVMIXMYB.mjs.map +1 -0
- package/dist/chunk-KHFPE566.js +49 -0
- package/dist/chunk-KHFPE566.js.map +1 -0
- package/dist/chunk-KKRIOEXD.mjs +7 -0
- package/dist/chunk-KKRIOEXD.mjs.map +1 -0
- package/dist/chunk-MKJYSWME.mjs +1 -0
- package/dist/chunk-MKJYSWME.mjs.map +1 -0
- package/dist/chunk-NRH6O4QZ.js +126 -0
- package/dist/chunk-NRH6O4QZ.js.map +1 -0
- package/dist/chunk-OF3TQWGX.js +130 -0
- package/dist/chunk-OF3TQWGX.js.map +1 -0
- package/dist/chunk-PQ5T4GHY.js +55 -0
- package/dist/chunk-PQ5T4GHY.js.map +1 -0
- package/dist/chunk-RG4II6WH.js +57 -0
- package/dist/chunk-RG4II6WH.js.map +1 -0
- package/dist/chunk-UMKBFFZ5.mjs +131 -0
- package/dist/chunk-UMKBFFZ5.mjs.map +1 -0
- package/dist/chunk-UVJVONBF.js +126 -0
- package/dist/chunk-UVJVONBF.js.map +1 -0
- package/dist/chunk-VHUU4HEY.js +67 -0
- package/dist/chunk-VHUU4HEY.js.map +1 -0
- package/dist/chunk-VXPVURGH.mjs +130 -0
- package/dist/chunk-VXPVURGH.mjs.map +1 -0
- package/dist/chunk-VZXD5DCQ.js +131 -0
- package/dist/chunk-VZXD5DCQ.js.map +1 -0
- package/dist/chunk-WJRV2JCX.mjs +49 -0
- package/dist/chunk-WJRV2JCX.mjs.map +1 -0
- package/dist/chunk-XUI43LEZ.mjs +30 -0
- package/dist/chunk-XUI43LEZ.mjs.map +1 -0
- package/dist/chunk-Z4BLTVTB.js +30 -0
- package/dist/chunk-Z4BLTVTB.js.map +1 -0
- package/dist/index.js +68 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +68 -0
- package/dist/index.mjs.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/constants.js +8 -0
- package/dist/sdk/authentication-jwt-bearer/constants.js.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/constants.mjs +8 -0
- package/dist/sdk/authentication-jwt-bearer/constants.mjs.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/flow-siwe.js +13 -0
- package/dist/sdk/authentication-jwt-bearer/flow-siwe.js.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/flow-siwe.mjs +13 -0
- package/dist/sdk/authentication-jwt-bearer/flow-siwe.mjs.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/flow-srp.js +15 -0
- package/dist/sdk/authentication-jwt-bearer/flow-srp.js.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/flow-srp.mjs +15 -0
- package/dist/sdk/authentication-jwt-bearer/flow-srp.mjs.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/services.js +23 -0
- package/dist/sdk/authentication-jwt-bearer/services.js.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/services.mjs +23 -0
- package/dist/sdk/authentication-jwt-bearer/services.mjs.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/types.js +8 -0
- package/dist/sdk/authentication-jwt-bearer/types.js.map +1 -0
- package/dist/sdk/authentication-jwt-bearer/types.mjs +8 -0
- package/dist/sdk/authentication-jwt-bearer/types.mjs.map +1 -0
- package/dist/sdk/authentication.js +26 -0
- package/dist/sdk/authentication.js.map +1 -0
- package/dist/sdk/authentication.mjs +26 -0
- package/dist/sdk/authentication.mjs.map +1 -0
- package/dist/sdk/encryption.js +10 -0
- package/dist/sdk/encryption.js.map +1 -0
- package/dist/sdk/encryption.mjs +10 -0
- package/dist/sdk/encryption.mjs.map +1 -0
- package/dist/sdk/env.js +12 -0
- package/dist/sdk/env.js.map +1 -0
- package/dist/sdk/env.mjs +12 -0
- package/dist/sdk/env.mjs.map +1 -0
- package/dist/sdk/errors.js +18 -0
- package/dist/sdk/errors.js.map +1 -0
- package/dist/sdk/errors.mjs +18 -0
- package/dist/sdk/errors.mjs.map +1 -0
- package/dist/sdk/index.js +68 -0
- package/dist/sdk/index.js.map +1 -0
- package/dist/sdk/index.mjs +68 -0
- package/dist/sdk/index.mjs.map +1 -0
- package/dist/sdk/user-storage.js +13 -0
- package/dist/sdk/user-storage.js.map +1 -0
- package/dist/sdk/user-storage.mjs +13 -0
- package/dist/sdk/user-storage.mjs.map +1 -0
- package/dist/sdk/utils/eip-6963-metamask-provider.js +10 -0
- package/dist/sdk/utils/eip-6963-metamask-provider.js.map +1 -0
- package/dist/sdk/utils/eip-6963-metamask-provider.mjs +10 -0
- package/dist/sdk/utils/eip-6963-metamask-provider.mjs.map +1 -0
- package/dist/sdk/utils/messaging-signing-snap-requests.js +16 -0
- package/dist/sdk/utils/messaging-signing-snap-requests.js.map +1 -0
- package/dist/sdk/utils/messaging-signing-snap-requests.mjs +16 -0
- package/dist/sdk/utils/messaging-signing-snap-requests.mjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/sdk/__fixtures__/mock-auth.d.ts +39 -0
- package/dist/types/sdk/__fixtures__/mock-auth.d.ts.map +1 -0
- package/dist/types/sdk/__fixtures__/mock-userstorage.d.ts +18 -0
- package/dist/types/sdk/__fixtures__/mock-userstorage.d.ts.map +1 -0
- package/dist/types/sdk/__fixtures__/test-utils.d.ts +25 -0
- package/dist/types/sdk/__fixtures__/test-utils.d.ts.map +1 -0
- package/dist/types/sdk/authentication-jwt-bearer/constants.d.ts +2 -0
- package/dist/types/sdk/authentication-jwt-bearer/constants.d.ts.map +1 -0
- package/dist/types/sdk/authentication-jwt-bearer/flow-siwe.d.ts +23 -0
- package/dist/types/sdk/authentication-jwt-bearer/flow-siwe.d.ts.map +1 -0
- package/dist/types/sdk/authentication-jwt-bearer/flow-srp.d.ts +17 -0
- package/dist/types/sdk/authentication-jwt-bearer/flow-srp.d.ts.map +1 -0
- package/dist/types/sdk/authentication-jwt-bearer/services.d.ts +45 -0
- package/dist/types/sdk/authentication-jwt-bearer/services.d.ts.map +1 -0
- package/dist/types/sdk/authentication-jwt-bearer/types.d.ts +60 -0
- package/dist/types/sdk/authentication-jwt-bearer/types.d.ts.map +1 -0
- package/dist/types/sdk/authentication.d.ts +29 -0
- package/dist/types/sdk/authentication.d.ts.map +1 -0
- package/dist/types/sdk/encryption.d.ts +20 -0
- package/dist/types/sdk/encryption.d.ts.map +1 -0
- package/dist/types/sdk/env.d.ts +27 -0
- package/dist/types/sdk/env.d.ts.map +1 -0
- package/dist/types/sdk/errors.d.ts +19 -0
- package/dist/types/sdk/errors.d.ts.map +1 -0
- package/dist/types/sdk/index.d.ts +7 -0
- package/dist/types/sdk/index.d.ts.map +1 -0
- package/dist/types/sdk/user-storage.d.ts +25 -0
- package/dist/types/sdk/user-storage.d.ts.map +1 -0
- package/dist/types/sdk/utils/eip-6963-metamask-provider.d.ts +25 -0
- package/dist/types/sdk/utils/eip-6963-metamask-provider.d.ts.map +1 -0
- package/dist/types/sdk/utils/messaging-signing-snap-requests.d.ts +33 -0
- package/dist/types/sdk/utils/messaging-signing-snap-requests.d.ts.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../types/eth-ens-namehash.d.ts","../../../types/ethereum-ens-network-map.d.ts","../../../types/global.d.ts","../../../types/single-call-balance-checker-abi.d.ts","../../../types/@metamask/contract-metadata.d.ts","../../../types/@metamask/eth-hd-keyring.d.ts","../../../types/@metamask/eth-simple-keyring.d.ts","../../../types/@metamask/ethjs-provider-http.d.ts","../../../types/@metamask/ethjs-unit.d.ts","../../../types/@metamask/metamask-eth-abis.d.ts","../../../types/eth-json-rpc-infura/src/createProvider.d.ts","../../../types/eth-phishing-detect/src/config.json.d.ts","../../../types/eth-phishing-detect/src/detector.d.ts","../../../node_modules/ethers/lib.commonjs/_version.d.ts","../../../node_modules/ethers/lib.commonjs/utils/base58.d.ts","../../../node_modules/ethers/lib.commonjs/utils/data.d.ts","../../../node_modules/ethers/lib.commonjs/utils/base64.d.ts","../../../node_modules/ethers/lib.commonjs/address/address.d.ts","../../../node_modules/ethers/lib.commonjs/address/contract-address.d.ts","../../../node_modules/ethers/lib.commonjs/address/checks.d.ts","../../../node_modules/ethers/lib.commonjs/address/index.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/hmac.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/keccak.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/ripemd160.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/pbkdf2.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/random.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/scrypt.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/sha2.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/signature.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/signing-key.d.ts","../../../node_modules/ethers/lib.commonjs/crypto/index.d.ts","../../../node_modules/ethers/lib.commonjs/transaction/accesslist.d.ts","../../../node_modules/ethers/lib.commonjs/transaction/address.d.ts","../../../node_modules/ethers/lib.commonjs/transaction/transaction.d.ts","../../../node_modules/ethers/lib.commonjs/transaction/index.d.ts","../../../node_modules/ethers/lib.commonjs/providers/contracts.d.ts","../../../node_modules/ethers/lib.commonjs/utils/fetch.d.ts","../../../node_modules/ethers/lib.commonjs/providers/plugins-network.d.ts","../../../node_modules/ethers/lib.commonjs/providers/network.d.ts","../../../node_modules/ethers/lib.commonjs/providers/formatting.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider.d.ts","../../../node_modules/ethers/lib.commonjs/providers/ens-resolver.d.ts","../../../node_modules/ethers/lib.commonjs/providers/abstract-provider.d.ts","../../../node_modules/ethers/lib.commonjs/hash/id.d.ts","../../../node_modules/ethers/lib.commonjs/hash/namehash.d.ts","../../../node_modules/ethers/lib.commonjs/hash/message.d.ts","../../../node_modules/ethers/lib.commonjs/hash/solidity.d.ts","../../../node_modules/ethers/lib.commonjs/hash/typed-data.d.ts","../../../node_modules/ethers/lib.commonjs/hash/index.d.ts","../../../node_modules/ethers/lib.commonjs/providers/signer.d.ts","../../../node_modules/ethers/lib.commonjs/providers/abstract-signer.d.ts","../../../node_modules/ethers/lib.commonjs/providers/community.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-socket.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-websocket.d.ts","../../../node_modules/ethers/lib.commonjs/providers/default-provider.d.ts","../../../node_modules/ethers/lib.commonjs/providers/signer-noncemanager.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-fallback.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-browser.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-alchemy.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-ankr.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-cloudflare.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-chainstack.d.ts","../../../node_modules/ethers/lib.commonjs/contract/types.d.ts","../../../node_modules/ethers/lib.commonjs/contract/wrappers.d.ts","../../../node_modules/ethers/lib.commonjs/contract/contract.d.ts","../../../node_modules/ethers/lib.commonjs/contract/factory.d.ts","../../../node_modules/ethers/lib.commonjs/contract/index.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-etherscan.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-infura.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-pocket.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-quicknode.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/ethers/lib.commonjs/providers/provider-ipcsocket.d.ts","../../../node_modules/ethers/lib.commonjs/providers/index.d.ts","../../../node_modules/ethers/lib.commonjs/utils/errors.d.ts","../../../node_modules/ethers/lib.commonjs/utils/events.d.ts","../../../node_modules/ethers/lib.commonjs/utils/fixednumber.d.ts","../../../node_modules/ethers/lib.commonjs/utils/maths.d.ts","../../../node_modules/ethers/lib.commonjs/utils/properties.d.ts","../../../node_modules/ethers/lib.commonjs/utils/rlp-decode.d.ts","../../../node_modules/ethers/lib.commonjs/utils/rlp.d.ts","../../../node_modules/ethers/lib.commonjs/utils/rlp-encode.d.ts","../../../node_modules/ethers/lib.commonjs/utils/units.d.ts","../../../node_modules/ethers/lib.commonjs/utils/utf8.d.ts","../../../node_modules/ethers/lib.commonjs/utils/uuid.d.ts","../../../node_modules/ethers/lib.commonjs/utils/index.d.ts","../../../node_modules/ethers/lib.commonjs/abi/coders/abstract-coder.d.ts","../../../node_modules/ethers/lib.commonjs/abi/fragments.d.ts","../../../node_modules/ethers/lib.commonjs/abi/abi-coder.d.ts","../../../node_modules/ethers/lib.commonjs/abi/bytes32.d.ts","../../../node_modules/ethers/lib.commonjs/abi/typed.d.ts","../../../node_modules/ethers/lib.commonjs/abi/interface.d.ts","../../../node_modules/ethers/lib.commonjs/abi/index.d.ts","../../../node_modules/ethers/lib.commonjs/constants/addresses.d.ts","../../../node_modules/ethers/lib.commonjs/constants/hashes.d.ts","../../../node_modules/ethers/lib.commonjs/constants/numbers.d.ts","../../../node_modules/ethers/lib.commonjs/constants/strings.d.ts","../../../node_modules/ethers/lib.commonjs/constants/index.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/base-wallet.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/wordlist.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/wordlist-owl.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/lang-en.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/wordlist-owla.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/wordlists.d.ts","../../../node_modules/ethers/lib.commonjs/wordlists/index.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/mnemonic.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/hdwallet.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/json-crowdsale.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/json-keystore.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/wallet.d.ts","../../../node_modules/ethers/lib.commonjs/wallet/index.d.ts","../../../node_modules/ethers/lib.commonjs/ethers.d.ts","../../../node_modules/ethers/lib.commonjs/index.d.ts","../../../node_modules/siwe/dist/ethersCompat.d.ts","../../../node_modules/siwe/dist/types.d.ts","../../../node_modules/siwe/dist/client.d.ts","../../../node_modules/siwe/dist/utils.d.ts","../../../node_modules/siwe/dist/siwe.d.ts","../src/sdk/errors.ts","../src/sdk/authentication-jwt-bearer/constants.ts","../src/sdk/env.ts","../src/sdk/authentication-jwt-bearer/types.ts","../src/sdk/authentication-jwt-bearer/services.ts","../src/sdk/authentication-jwt-bearer/flow-siwe.ts","../src/sdk/utils/eip-6963-metamask-provider.ts","../src/sdk/utils/messaging-signing-snap-requests.ts","../src/sdk/authentication-jwt-bearer/flow-srp.ts","../src/sdk/authentication.ts","../../../node_modules/@noble/ciphers/utils.d.ts","../../../node_modules/@noble/ciphers/aes.d.ts","../../../node_modules/@noble/ciphers/crypto.d.ts","../../../node_modules/@noble/ciphers/webcrypto.d.ts","../../../node_modules/@noble/hashes/utils.d.ts","../../../node_modules/@noble/hashes/pbkdf2.d.ts","../../../node_modules/@noble/hashes/_md.d.ts","../../../node_modules/@noble/hashes/sha256.d.ts","../src/sdk/encryption.ts","../src/sdk/user-storage.ts","../src/sdk/index.ts","../src/index.ts","../../../node_modules/nock/types/index.d.ts","../src/sdk/__fixtures__/mock-auth.ts","../src/sdk/__fixtures__/mock-userstorage.ts","../src/sdk/__fixtures__/test-utils.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/deep-freeze-strict/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/jest-when/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/pbkdf2/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/punycode/index.d.ts","../../../node_modules/@types/readable-stream/node_modules/safe-buffer/index.d.ts","../../../node_modules/@types/readable-stream/index.d.ts","../../../node_modules/@types/secp256k1/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/uuid/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"70bbfaec021ac4a0c805374225b55d70887f987df8b8dd7711d79464bb7b4385","869089d60b67219f63e6aca810284c89bae1b384b5cbc7ce64e53d82ad223ed5",{"version":"18338b6a4b920ec7d49b4ffafcbf0fa8a86b4bfd432966efd722dab611157cf4","affectsGlobalScope":true},"62a0875a0397b35a2364f1d401c0ce17975dfa4d47bf6844de858ae04da349f9","ee7491d0318d1fafcba97d5b72b450eb52671570f7a4ecd9e8898d40eaae9472","e3e7d217d89b380c1f34395eadc9289542851b0f0a64007dfe1fb7cf7423d24e","fd79909e93b4d50fd0ed9f3d39ddf8ba0653290bac25c295aac49f6befbd081b","345a9cc2945406f53051cd0e9b51f82e1e53929848eab046fdda91ee8aa7da31","9debe2de883da37a914e5e784a7be54c201b8f1d783822ad6f443ff409a5ea21","dee5d5c5440cda1f3668f11809a5503c30db0476ad117dd450f7ba5a45300e8f","f5e396c1424c391078c866d6f84afe0b4d2f7f85a160b9c756cd63b5b1775d93","5caa6f4fff16066d377d4e254f6c34c16540da3809cd66cd626a303bc33c419f","730d055528bdf12c8524870bb33d237991be9084c57634e56e5d8075f6605e02","31e313c0dba34e94e0135fe3b19bc3ee155a3958a96a6c60f9242612b6be23c6","c1d45ad150211313b9f4965a7f984993dc07313a8e81255f3d6d1c2d2b7a8fd9","f0b25ecfcc4cad84f95951dbdc13686433c5a7c54deebe9a43b1b4ddee1bb5be","3099c6d6ca03d5f2098837cac45e7793786c54e06dfa882ff4a854bddeb3f97b","53cfce94cd12e7e0bd9a5d635dd4929f5883c18135e86290775dea5b920545f8","2d868771bfc205cf27c0b36626e2c3925a55a4fcdb6e4f30f563b0ba98e583c4","9df9be9776aae375c562e7115e32fd0f2c2a0598b26ab23c3b0f1408751efecb","48679411dffc88b1c40188b31f2b3bbda61bd3c0e0a892f80e5bbab52e948801","afd9ebfe2b8ced603e34db1c54c7764c7db7bb9d67c69dd90beaeb4d99e11603","c2189948d258e7bffb176ec0f982ff136c15f7cb43711a6457ae93d6d1a44575","a6fe037550736f4a33d23650cb86ae83e981e3547e143073fd9e6294f5eabb81","7d0b3df72dc921d9f438c43ba6cb82683fa79a2ae1566946075ebbd08d830840","0e2eeffb8a065abf94202469089ca0def7db7d071fffb85c2d20b2a4611a8619","edf4bbbd2c49e1a3ca16db235375e35fdc78c01336526b4ded61b83a1a27be5e","a91270b389959d4c658eb232bc98ac0d6625a2f5d815922f04184c067cf45ab9","3da96d5db9d0ca455fa59c779edd8f005c84ccabd3fdd2fb0064ddd9e426b8b0","52683c193bf516deb3897278f759d14325baca083deefd36e693e5c09ba436b4","02d0e3d40ac1e761e16a96c882ae1b75a327d0f20731bbc690c15eba0f6c15bd","0df6ff347a9d41713af680b29476a430d0f0eaa30465efe3ef149cfbc7b63a3b","d95862256da7116eae8b69d1fef8b1ffe47e221787fb7541b90295336731274c","10ac8bf93d6cba56df34f8ffe7afc92ac5fe47e6fb385e59cd1f176a2ea049e0","556c20b12f72559aac840cf36204ab5257dd981dc33689754c9e82af9b9b2a2e","dc0f45854448366e46ed513f5d198379da258376d466f11e6d651dfbb968a3d5","c8a94ee463980a023d5b0591edbd32c6c729cb217aa3901b23473295030f4354","a6ffc27bbcaa77f93f67b4ccdf7cba83109fd4b4367ec93cf14aed112ae889d5","926e30ebb48f71493b5c1b050c0528b42a97ecb19e6cac2cabb6be01b37c32dd","e695f0a4a34c2ab2ee9b09685db7553e463f797d18de9cf86df0505b4a046f0a","075b02e673fe3eab3231cb606d5e351809a8fd9efc760b78a4fde7ab65671ac2","7d6218cac21d319c8191e194602e74b804ee53e60f4e26a5a9dc8b57b190ba4f","908f09e7f12892cf2d4c3d46df39fbaecf33198ee8e45025533ab8d708df150a","3266a03c5946baa44bb5413f01560c1d70b41cc975cccba45d6d257e8ad6e9b6","5ba98fa53903226fa84855af5757147f3926e84cdceb8c9653c217aef3d54362","2b00099841c56a96fa1b9c0444e95503e4467528f331685665ef74397b95c656","8ac191cee94b0b802d9295377456de2ded468f8212c7c147eed21f69d78b1c2e","057980116843d7c307b7b9df0df6272fbb12b48e3a4b386fa4960cb39f40c085","9944898d4f74a3c92156a8570614451ac384d084227f8c6ca818bf052ea55ee0","1e189f8a978e46f1264bc243b8573abd6bd79a28bf2620b622f33ce5c82d9dbe","5c62978c29fd246b8ac1cb86bce7bcf787115074130d49dd5864e3984b2b64da","c46d35cffbd1cfc2080c0355e1e366bbb0aa547c730ee7cac5a36390388f4be7","f6e21acb3aa06accf343692f284f2ea610d1fb0ee1afce9c36080bd37d7fe7ee","55e749e97482f1e8867594715bf2e12cd38a9ff3d5dd4775f8a038b66573608e","c33f0b0ce44cc14942c7fdb26da13b6a2b2f048c9b344f015a3789a7a12604ba","209a4f359634064b7e07b300eb87f46909411586015a75d771337301285baf6e","97a67bba2c8123cd1fc6412042fb38ceee1477e6d844b5ec2dafea21f7f3e6f7","167488303ef27a82d6bf439a7e09901c88ce520b2ca70398698713cf29f7599d","af939f413c5525fd59b42318358595642e62ebdec57a580a145e4a2307187bba","7d03d9adda53f51aba7375d78b50c82a478afa5d601ccadd5c8ef2721c19390d","7d1c5fdb00c76fcc86234d8766f42ddb654ffa01d78564f1965b142e0ee7fa70","825b9b3691d29482cc2034a8e6292d4800222601c2a883ad3e777182bad6fa04","3890ab6996506722cd1fecd0b5b838a5af654836abe484c99696f82dc4147f32","0bbe088b6bb61433e16efeddc72fbe6b1ec18018ef2e28abf3b4e2d0a73fc8d5","14a09b10bcd25f3178c39d53b4160977293bc6bf045e52ee3c08896fdf8f3274","0d702496bdb5dba80e0faf7817b16cc283cf6ac6d09c902696c0b327dc274bd1","7334b41305fbb99b9efe411cddcae9ef17fa6d89ab081d26435f0f9a72f065bf","352d3bb36b12c1799dc302e90f3a9b47385a249fb5df3ce0e4df3cfd726bd746","53ec3e71ba810ea35c72e52e515ec6c251056f390ee4835b0cc1c47dcc190a77","3e6548ae5c61384f7faf2f75793628fe5ef06c56060bffe86bda3cbcc7d94524","2b4630bc489a8585742ced3952f491fe741d8f38bdd6d205d1a938baccddbda3","3bba9d77cfa07f2c6d174f804317e14d2573ed8234ec14152e51b207c90d1c47","5b3cd03ae354ea96eff1f74d7c410fe4852e6382227e8b0ecf87ab5e3a5bbcd4","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"056097110efd16869ec118cedb44ecbac9a019576eee808d61304ca6d5cb2cbe","affectsGlobalScope":true},"f51b4042a3ac86f1f707500a9768f88d0b0c1fc3f3e45a73333283dea720cdc6",{"version":"6fb8358e10ed92a7f515b7d79da3904c955a3ffd4e14aa9df6f0ea113041f1cf","affectsGlobalScope":true},"45c831238c6dac21c72da5f335747736a56a3847192bf03c84b958a7e9ec93e2","661a11d16ad2e3543a77c53bcd4017ee9a450f47ab7def3ab493a86eae4d550c",{"version":"8cdc646cec7819581ef343b83855b1bfe4fe674f2c84f4fb8dc90d82fb56bd3a","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","9dd56225cc2d8cb8fe5ceb0043ff386987637e12fecc6078896058a99deae284","2375ed4b439215aa3b6d0c6fd175c78a4384b30cb43cbadaecbf0a18954c98cb","7693b90b3075deaccafd5efb467bf9f2b747a3075be888652ef73e64396d8628","41231da15bb5e3e806a8395bd15c7befd2ec90f9f4e3c9d0ae1356bccb76dbb0","fccfef201d057cb407fa515311bd608549bab6c7b8adcf8f2df31f5d3b796478",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},"5f20d20b7607174caf1a6da9141aeb9f2142159ae2410ca30c7a0fccd1d19c99",{"version":"464762c6213566d072f1ced5e8e9a954785ec5e53883b7397198abb5ef5b8f71","affectsGlobalScope":true},"6387920dc3e18927335b086deec75bf8e50f879a5e273d32ee7bb7a55ba50572","9bba37424094688c4663c177a1379b229f919b8912889a472f32fdc5f08ddb4d","29a4be13b3a30d3e66667b75c58ec61fb2df8fa0422534fdee3cfb30c5dbf450","83366d901beda79d6eb37aaaf6ca248dcd88946302b2a7d975590783be51e88e","bf268a0aea37ad4ae3b7a9b58559190b6fc01ea16a31e35cd05817a0a60f895a","43ec77c369473e92e2ecebf0554a0fdaa9c256644a6070f28228dfcceec77351",{"version":"d7dad6db394a3d9f7b49755e4b610fbf8ed6eb0c9810ae5f1a119f6b5d76de45","affectsGlobalScope":true},"95ed02bacb4502c985b69742ec82a4576d4ff4a6620ecc91593f611d502ae546","bf755525c4e6f85a970b98c4755d98e8aa1b6dbd83a5d8fcc57d3d497351b936","dd67d2b5e4e8a182a38de8e69fb736945eaa4588e0909c14e01a14bd3cc1fd1e",{"version":"28084e15b63e6211769db2fe646d8bc5c4c6776321e0deffe2d12eefd52cb6b9","affectsGlobalScope":true},{"version":"aed37dabf86c99d6c8508700576ecede86688397bc12523541858705a0c737c2","affectsGlobalScope":true},"cc6ef5733d4ea6d2e06310a32dffd2c16418b467c5033d49cecc4f3a25de7497","94768454c3348b6ebe48e45fbad8c92e2bb7af4a35243edbe2b90823d0bd7f9a","0be79b3ff0f16b6c2f9bc8c4cc7097ea417d8d67f8267f7e1eec8e32b548c2ff","1c61ffa3a71b77363b30d19832c269ef62fba787f5610cac7254728d3b69ab2e","84da3c28344e621fd1d591f2c09e9595292d2b70018da28a553268ac122597d4","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","6e191fea1db6e9e4fa828259cf489e820ec9170effff57fb081a2f3295db4722","aed943465fbce1efe49ee16b5ea409050f15cd8eaf116f6fadb64ef0772e7d95","70d08483a67bf7050dbedace398ef3fee9f436fcd60517c97c4c1e22e3c6f3e8","c40fdf7b2e18df49ce0568e37f0292c12807a0748be79e272745e7216bed2606",{"version":"e933de8143e1d12dd51d89b398760fd5a9081896be366dad88a922d0b29f3c69","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","b38d55d08708c2410a3039687db70b4a5bfa69fc4845617c313b5a10d9c5c637","205d50c24359ead003dc537b9b65d2a64208dfdffe368f403cf9e0357831db9e","1265fddcd0c68be9d2a3b29805d0280484c961264dd95e0b675f7bd91f777e78",{"version":"a05e2d784c9be7051c4ac87a407c66d2106e23490c18c038bbd0712bde7602fd","affectsGlobalScope":true},{"version":"df90b9d0e9980762da8daf8adf6ffa0c853e76bfd269c377be0d07a9ad87acd2","affectsGlobalScope":true},"cf434b5c04792f62d6f4bdd5e2c8673f36e638e910333c172614d5def9b17f98","1d65d4798df9c2df008884035c41d3e67731f29db5ecb64cd7378797c7c53a2f","0faee6b555890a1cb106e2adc5d3ffd89545b1da894d474e9d436596d654998f","c6c01ea1c42508edf11a36d13b70f6e35774f74355ba5d358354d4a77cc67ea1","867f95abf1df444aab146b19847391fc2f922a55f6a970a27ed8226766cee29f",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b0297b09e607bec9698cac7cf55463d6731406efb1161ee4d448293b47397c84","2a444ea55b9bc6f78215d2462dfdd008a9d2d5f2119ac541ae57b83847e9786a","2d8fe877d29861648f012c3fce626f62dc306106c5f80412b15ba5d5d289bbd6","fe0c1e2efe12fcc7e0409e799a31b02e3aa3007e516af720106da72e8c22157a","7a8ead38ea10e5187f72c8ff01938f91ee8341bfdf33c467b26d049cf2719530","1574e92344b923b2695ec608a6bb6ccbd6d50f9dd6ab84224ead2e38dd3c3669","f6f9e2ef6788f1d1264322e38102b66044b00b76555f8554faf87ef17c9f8add","1cdd7ea3d40571e6ed8cd91a1ef9f390c6d845d7adbdde29a61ca1af4036e7c8","8b49bd9c17fce53462e3c2094d961cb5bca26b3166cdc3e8c6952c00963b6a59","e29069b75d8b588f0cd62242dc120178d0518aeddf9757a440cd35c2606de2d6","d07f8e8c858239ee0fa66e25cc9e7034d8fe7b0876be61d3d2d22c06fdc6944d","fa2f8c5eedd3ed40be37deb32999191e1334f03fd402bad36c4b5a6da92470a6","2d28f80386b506e00285b9cbd0dc1a695c810cb3bc61e0b2b081aac304ee3bc4","00f74835b3aaf3690d7480f1ad08fe02593113e38e7a26d7ad27d327f5b9af8f","aa546b567b477fcd690218295cbd9eb877d3e25bdfc049b40973702712d00788","67dbef5497f47d7f39dfd36d503a2fcd7235296f976ccd7be93bd2ec45945b3c","49614291ae45449e9d7a86ca4e77b2812d414b5365fc9fc0f1332b052575ecf7","3ab09cdc78b5e435e38c90d4d6845abaa6b60adb4c28d1df89b4e957d4107cc9","033d848b02f3948d2fb4feb7fba98e9cc3cba797b417210f30454491b2d9170c","74f763ea382866434fec07cd11967ac0fa2d94d3f9f98e4a908435ec98b2e0d5","2a54c89cbd1baefaed665291d05b9d28ac7356536c3f681f9401d642b2b0c0cd","f09ab98499647d29d8f3a5e0a5c1194b5d24fa9e1b2f94e195d1555ca8ba4098","42a070375b9fa9e09573b391dc15e9751113151288937f6d622373d8705e478a","77c1edc2eb2c2ef64cc6d45f846dac52c1a1cf0357c28d72a903da58b9fbf56f","f3ccf447160ee55c440b3cdc68bbafd8393c658fb257d557745b861781ecf1d4","34ac47d3fc6b5707ceaf7f0b580ee1805fa393ea045142f659b679e0332c6240","8bc016c287b028ceb9ca0438967afc8bd3ec4b0db901f5cc058ebfbe7abd7aab","0ac2c134de3012cf62961c5875d2aae009adbe323df88fe6657ad09d4bb7fb14","486a4acd1ddabb05055e75770bd51ffa166b1ac3940ec4019761f06c3c3b1d6c","b908d48bfaf9a491303e5970101a2b9895cc6f8f4c6abfabd6bb93ca425a22d0","3fa498ce08b62f4148452e553d138429a5d928f8c39395683ef941856d9d8942","96d22cd33030a9b7bab47064406ef0fbf7502fd2b2779af845bb63c27e8ca92e","cd564236c3689e0237b1b16c779deba4bf0905949b2cd1332b867a255a1fca61","43881022601c5fc87ff751cd869103981215489384643c71d5c8e58619f7bc96","4af291a429ee3d5516e506b507453e6fbc80fcea52bd62ce18190702acb5c807","7f1ddcce6f5aa325fbe874137ed533a4e23e557050dfb15747a9e19e2d6b463f","a10dc770ceb0a20ecde6e0cc37ed95d1c5390f34eb7d7930407fa700354db3b5","0e41bc8a6621ff6901a89fb0cca175731835723a4d9bd6ba3974cd0df809be89","aae5435e7c8b476b2b4fd960fb4ca413c9ed6dc8675d8db29a895ff7389e638f","deef751ee7953fca04f567770514f93f9d2fa1254e5cdcb7da5229757c65ea39","6645dc46f2a7520fb2a260fba40267c3cbe4704312ee112adeef0dce283ee75b","e981c8c1e332df4f83dd27eeb3b0557a8afd36ffc5110b09e60d0a1a5b8c682a","f130f9f358ca846dd0583436826730d4e63d8371dcb2dd84ad6dc2ec742f31f5","051dfbd50021cf65c7ae858cd7d23e1517910642e5f09abd10c137a0a14b25fa","4b846ade628aa5b8750c1f157ba64eb7de144393872e29792fe571e78d5bc214","81e9a2dc18042867fd324b0d5a3cc8eee347a1602bfbb4f5ae64f8ca90d35b06","d6df48cfb8996771c4a1c244df2f15c0e1acbbfe25668df25df32351fb2505d1",{"version":"c93ac08b1adf6343b958569018b60fba0e58f2f9f4abade2206d7ec638a32c73","signature":"c8b5cab312556b8219b39cd9d774781eb18ec3bb4a994e64f4dcc2ad5c4c2cdb"},{"version":"7649519381a0f69fdaf473380955959113aa4dd82dd33fd85ed8373c365b2a0c","signature":"fcfcf9222c859dba87ac0575fdc07f277931c0c9b53b346b60b5a0ba48f86523"},{"version":"1342006f2bac7bba5fa4acec61d18becea8f760ef03d10e2f8657234891e11d1","signature":"dba85d4aa32fff1be8add95137321094021300d5a4186f074c909c5d8c08e223"},{"version":"158c1eb0734ad95053830e52ca7c4f92cae665558634526e2796d8654f803913","signature":"53617eb8afbd4092e476ac9d1528fca59dd193370ecffbd4ae343647e9be10b8"},{"version":"f89c458772ad639969fa7b054be4ac5619ee1241d4c5c8c2e36690098c4aa26d","signature":"bff868b5134009748475c521e906f12f70e2dc9a6edb5a8a04987045889881ba"},{"version":"d1387d54b95c1787933ecfa81a670cbb014345ec84fe5043fea47e7a0f385aa6","signature":"b5e8991c2de15057e28c905c2e93ae406a06b86ebf6ccc71632262338f691181"},{"version":"57efb396d9c25d6fca82fd32e749a5d4672cdf90b8fdbdc7bd9d08bad3ce0aeb","signature":"ad1ac493abf2d3e667211661b8f29fb3ad6fdd4bfac901c823d693e14c4a99c3"},{"version":"6646fab6b58ae1852ea40374108b28414f67f8851f69eb1cc0d90e31f199ebb4","signature":"fe0d40cb2b570fb2e6f87f44c07970d50b4b9dfcd2d12ad0433a3c6c84493b73"},{"version":"3d43db395d189906c90f9d13d1ca58a3eded7aea193f5ed289917f0561494e4b","signature":"c7c273bbb23ed9246ae5672517bc93405b2a0930a9f1eb5d1e0b16490dfb6d13"},{"version":"02b72ed9592b89ee7474f1e953169ef3acd73172650a75491277fb4602092d80","signature":"e9c4ee8de76f584ff06b5e344c8d8aa52fcb2cadc0f02d5ca15d88ab612af769"},"acfaa42c3d227e9828436b88b645e45e289ac4d1c3a83e431e551a339df23be3","70c9deb683d998b7db240be8af89a7ec60c7daaf7bf11031f5184b601fe8dd18","cca41dea2ebef2e905f9e024baef5e451d170be0cd6b2580eeb2a34deff906e0","9a222466eddb45a20bebd8d86d46a492138235c9accacd1fbc7fada25f3ca2fc","cd60a513d4653eb2e9c95b3351cbad232238f140c3eb4f3d48e93ceff7dd7bf7","98ce0bdd386041f701644bc2df84d54b8005731b271867b10e33b16d23768331","f3787e74811e0328d91ebf9c1662a50501f457e2df45f53d85b3846c09d015ea","fc670c1c1c1b74b85d4305ea97d18292184b434c7168d40ed60658e187d0e40d",{"version":"127f5e398f5438285d4c951bc77ac3c9efcd5bb5ec1c19cae461ee6ac98f976a","signature":"17d8f8bfb8fc04b427ff3c2f24263555dc7776a624ea475efc51d167efff4d26"},{"version":"02d8f74ee4dfaa5d0a49259858a826b678cbd795f12673519772a19a6657e403","signature":"12890ce8b0cee0922f07ab0548724f7e1664863989359788bc5e409c4c32d9f4"},"66478936b0a6d646e689b0096f4c1a36af3e4a8750ab30d8a7a7d0a9dd673f43","4c84cfd0f2a62389e636e40b6db8219e4adc176103b3bbef99f4a81a32dc9194","eb6047186816e492576fdf69c5eb57cf8e7731a3a57af5c0ade87ae98b65803e",{"version":"ee7b39323e6f2d919fed3893fed20da0781c869df24b6ec41cc4d4956e19eb0b","signature":"b4bdd2f92ca493a5b61000726e1f0b2ca7b3a1a9a1eeeb1d1ed50cef7a1bc69f"},{"version":"446683ae14c52802e5d2c0699c68dc766088941a1ded65dce173ba4f6292d599","signature":"d5500feebc0d43bb75c9b9d256b71d43461f0ccc4448418c626ad8b314139ad3"},{"version":"d317f5fc6d73728676ee59a0029f876eefdd07727740bf010cf196916f290250","signature":"3f9180c98c64b6aacd4f72ca551aa462cd528c991da14e0ad4d1b827e136769a"},"4489c6a9fde8934733aa7df6f7911461ee6e9e4ad092736bd416f6b2cc20b2c6","2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050","8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990","670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","9d38964b57191567a14b396422c87488cecd48f405c642daa734159875ee81d9","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","8aceb205dcc6f814ad99635baf1e40b6e01d06d3fe27b72fd766c6d0b8c0c600","68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","8c95f96ccd4be0674944077aec1e4f2cccd515ca06d4327562dd017250e7d3fc",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","bc3cba7b0af2d52e7425299aee518db479d44004eff6fbbd206d1ee7e5ec3fb5","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"d92dc90fecd2552db74d8dc3c6fb4db9145b2aa0efe2c127236ba035969068d4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","b8442e9db28157344d1bc5d8a5a256f1692de213f0c0ddeb84359834015a008c","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","68a0d0c508e1b6d8d23a519a8a0a3303dc5baa4849ca049f21e5bad41945e3fc","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","254d9fb8c872d73d34594be8a200fd7311dbfa10a4116bfc465fba408052f2b3","d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e","2ccea88888048bbfcacbc9531a5596ea48a3e7dcd0a25f531a81bb717903ba4f","5e379df3d61561c2ed7789b5995b9ba2143bbba21a905e2381e16efe7d1fa424","f07a137bbe2de7a122c37bfea00e761975fb264c49f18003d398d71b3fb35a5f","d8f7109e14f20eb735225a62fd3f8366da1a8349e90331cdad57f4b04caf6c5a","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","9d92b037978bb9525bc4b673ebddd443277542e010c0aef019c03a170ccdaa73","ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","ae271d475b632ce7b03fea6d9cf6da72439e57a109672671cbc79f54e1386938"],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"inlineSources":true,"module":1,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"fileIdsList":[[240],[224],[224,226],[228],[228,230],[240,241,242,243,244],[240,242],[167],[247],[250,251,252],[132,167],[255],[256],[267],[261,266],[270,272,273,274,275,276,277,278,279,280,281,282],[270,271,273,274,275,276,277,278,279,280,281,282],[271,272,273,274,275,276,277,278,279,280,281,282],[270,271,272,274,275,276,277,278,279,280,281,282],[270,271,272,273,275,276,277,278,279,280,281,282],[270,271,272,273,274,276,277,278,279,280,281,282],[270,271,272,273,274,275,277,278,279,280,281,282],[270,271,272,273,274,275,276,278,279,280,281,282],[270,271,272,273,274,275,276,277,279,280,281,282],[270,271,272,273,274,275,276,277,278,280,281,282],[270,271,272,273,274,275,276,277,278,279,281,282],[270,271,272,273,274,275,276,277,278,279,280,282],[270,271,272,273,274,275,276,277,278,279,280,281],[115],[118],[119,124,151],[120,131,132,139,148,159],[120,121,131,139],[122,160],[123,124,132,140],[124,148,156],[125,127,131,139],[126],[127,128],[131],[130,131],[118,131],[131,132,133,148,159],[131,132,133,148],[131,134,139,148,159],[131,132,134,135,139,148,156,159],[134,136,148,156,159],[115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[131,137],[138,159,164],[127,131,139,148],[140],[141],[118,142],[143,158,164],[144],[145],[131,146],[146,147,160,162],[119,131,148,149,150],[119,148,150],[148,149],[151],[152],[131,154,155],[154,155],[124,139,148,156],[157],[139,158],[119,134,145,159],[124,160],[148,161],[162],[163],[119,124,131,133,142,148,159,162,164],[148,165],[167,288],[291,330],[291,315,330],[330],[291],[291,316,330],[291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329],[316,330],[331],[335],[181,182,183],[181],[183,184,185,186,187],[181,182,183,184,186],[63,181,182],[63],[60,61,62],[189,190,191,192],[63,83,106,107,169,181,188],[63,106,107,108,169,181,188],[106,107,108,109],[107,169,188],[83,106,108,169,181,188],[64,65,66,67,68,69,70,71,72],[71,73,181],[56,63,73,77,91,110,169,181,188,193,200,206],[86,87,88,89,90],[73],[73,181],[207],[63,81,82,83,84,181],[77,83,91,92],[83],[81,85,97],[83,85,181],[73,77],[78,80,81,82,83,84,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,111,112,113,114,168],[77,80,181],[79,83],[81,85,94,95,181],[81,95],[80,81,83,85,110],[81,85],[81,85,94,95,97,181],[81,95,96,139,167],[77,81,83,85,91,92,93,181],[81,83,85,95],[81,95,96],[63,73,77,78,81,82,181],[83,91,92,93],[63,77,78,83,91],[77],[74,75,76],[73,77,181],[58],[79,169],[57,58,59,79,170,171,172,173,174,175,176,177,178,179,180],[176],[175,177],[73,91,169],[73,169,181,194,200,201],[194,201,202,203,204,205],[181,200],[73,169,194,202],[195,196,197,198,199],[196],[195],[259,262],[259,262,263,264],[261],[258,265],[132,134,145,159],[260],[209,210],[208],[210,211,212],[208,211],[234],[216,218,236],[216,232,233,236],[216,217,223],[213,214,215,217,218],[214,215,217,218,220,221],[214,216,217],[216],[214,217,219,222],[225,227,228,229,231],[214,216,221,223,232,233],[214,216,217,232],[236],[217,223],[217],[216,217],[217,219,222]],"referencedMap":[[242,1],[225,2],[227,3],[230,4],[229,4],[231,5],[245,6],[241,1],[243,7],[244,1],[246,8],[248,9],[253,10],[254,11],[256,12],[257,13],[268,14],[267,15],[271,16],[272,17],[270,18],[273,19],[274,20],[275,21],[276,22],[277,23],[278,24],[279,25],[280,26],[281,27],[282,28],[115,29],[116,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,38],[127,39],[128,39],[129,40],[130,41],[131,42],[132,43],[133,44],[134,45],[135,46],[136,47],[167,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[143,55],[144,56],[145,57],[146,58],[147,59],[148,60],[150,61],[149,62],[151,63],[152,64],[154,65],[155,66],[156,67],[157,68],[158,69],[159,70],[160,71],[161,72],[162,73],[163,74],[164,75],[165,76],[285,8],[289,77],[290,8],[315,78],[316,79],[291,80],[294,80],[313,78],[314,78],[304,78],[303,81],[301,78],[296,78],[309,78],[307,78],[311,78],[295,78],[308,78],[312,78],[297,78],[298,78],[310,78],[292,78],[299,78],[300,78],[302,78],[306,78],[317,82],[305,78],[293,78],[330,83],[324,82],[326,84],[325,82],[318,82],[319,82],[321,82],[323,82],[327,84],[328,84],[320,84],[322,84],[332,85],[336,86],[184,87],[185,88],[182,88],[188,89],[187,90],[186,91],[62,92],[61,88],[63,93],[193,94],[108,95],[109,96],[110,97],[106,98],[107,99],[64,88],[73,100],[65,88],[67,88],[66,88],[69,88],[70,88],[71,88],[72,101],[207,102],[91,103],[88,104],[90,105],[208,106],[85,107],[93,108],[78,109],[98,110],[84,111],[82,112],[169,113],[81,114],[80,115],[102,116],[103,116],[101,117],[105,116],[104,117],[111,118],[100,119],[112,120],[168,121],[95,122],[113,116],[114,116],[96,123],[97,124],[83,125],[99,126],[92,127],[74,128],[75,105],[77,129],[76,130],[57,88],[59,131],[170,132],[172,88],[181,133],[173,131],[175,88],[177,134],[176,135],[178,88],[179,88],[180,88],[194,136],[202,137],[206,138],[204,105],[201,139],[205,140],[200,141],[197,142],[196,143],[198,142],[199,143],[263,144],[265,145],[264,144],[262,146],[266,147],[236,148],[261,149],[211,150],[209,151],[213,152],[210,153],[212,153],[235,154],[237,155],[238,156],[239,157],[219,158],[222,159],[218,160],[217,161],[223,162],[232,163],[234,164],[233,165],[220,151],[221,151]],"exportedModulesMap":[[242,1],[225,2],[227,3],[230,4],[229,4],[231,5],[245,6],[241,1],[243,7],[244,1],[246,8],[248,9],[253,10],[254,11],[256,12],[257,13],[268,14],[267,15],[271,16],[272,17],[270,18],[273,19],[274,20],[275,21],[276,22],[277,23],[278,24],[279,25],[280,26],[281,27],[282,28],[115,29],[116,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,38],[127,39],[128,39],[129,40],[130,41],[131,42],[132,43],[133,44],[134,45],[135,46],[136,47],[167,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[143,55],[144,56],[145,57],[146,58],[147,59],[148,60],[150,61],[149,62],[151,63],[152,64],[154,65],[155,66],[156,67],[157,68],[158,69],[159,70],[160,71],[161,72],[162,73],[163,74],[164,75],[165,76],[285,8],[289,77],[290,8],[315,78],[316,79],[291,80],[294,80],[313,78],[314,78],[304,78],[303,81],[301,78],[296,78],[309,78],[307,78],[311,78],[295,78],[308,78],[312,78],[297,78],[298,78],[310,78],[292,78],[299,78],[300,78],[302,78],[306,78],[317,82],[305,78],[293,78],[330,83],[324,82],[326,84],[325,82],[318,82],[319,82],[321,82],[323,82],[327,84],[328,84],[320,84],[322,84],[332,85],[336,86],[184,87],[185,88],[182,88],[188,89],[187,90],[186,91],[62,92],[61,88],[63,93],[193,94],[108,95],[109,96],[110,97],[106,98],[107,99],[64,88],[73,100],[65,88],[67,88],[66,88],[69,88],[70,88],[71,88],[72,101],[207,102],[91,103],[88,104],[90,105],[208,106],[85,107],[93,108],[78,109],[98,110],[84,111],[82,112],[169,113],[81,114],[80,115],[102,116],[103,116],[101,117],[105,116],[104,117],[111,118],[100,119],[112,120],[168,121],[95,122],[113,116],[114,116],[96,123],[97,124],[83,125],[99,126],[92,127],[74,128],[75,105],[77,129],[76,130],[57,88],[59,131],[170,132],[172,88],[181,133],[173,131],[175,88],[177,134],[176,135],[178,88],[179,88],[180,88],[194,136],[202,137],[206,138],[204,105],[201,139],[205,140],[200,141],[197,142],[196,143],[198,142],[199,143],[263,144],[265,145],[264,144],[262,146],[266,147],[236,148],[261,149],[211,150],[209,151],[213,152],[210,153],[212,153],[235,154],[237,166],[238,166],[239,167],[219,168],[222,168],[218,169],[217,161],[223,170],[234,164],[233,169],[220,151],[221,151]],"semanticDiagnosticsPerFile":[242,240,225,226,224,227,230,229,231,228,245,241,243,244,246,248,249,250,253,251,254,255,256,257,268,267,252,269,271,272,270,273,274,275,276,277,278,279,280,281,282,283,247,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,117,166,134,135,136,167,137,138,139,140,141,142,143,144,145,146,147,148,150,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,284,285,286,287,289,288,290,315,316,291,294,313,314,304,303,301,296,309,307,311,295,308,312,297,298,310,292,299,300,302,306,317,305,293,330,329,324,326,325,318,319,321,323,327,328,320,322,332,331,333,334,335,336,258,56,184,185,182,183,188,187,186,60,62,61,63,189,190,193,191,192,108,109,110,106,107,64,73,65,67,68,66,69,70,71,72,207,86,91,88,87,89,90,208,85,93,94,78,98,84,82,169,81,80,102,103,101,105,104,111,100,112,168,95,113,114,96,97,83,99,92,74,75,77,76,57,59,58,170,171,79,172,181,173,174,175,177,176,178,179,180,194,202,206,203,204,201,205,200,197,196,198,195,199,259,263,265,264,262,266,236,261,260,211,209,213,210,212,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,235,237,238,239,215,219,222,218,217,223,232,216,214,234,233,220,221,47,48,49,50,51,52,43,53,54,55,44,45,46],"latestChangedDtsFile":"./types/sdk/__fixtures__/test-utils.d.ts"},"version":"4.9.5"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import nock from 'nock';
|
|
2
|
+
type MockReply = {
|
|
3
|
+
status: nock.StatusCode;
|
|
4
|
+
body?: nock.Body;
|
|
5
|
+
};
|
|
6
|
+
export declare const MOCK_JWT = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImIwNzE2N2U2LWJjNWUtNDgyZC1hNjRhLWU1MjQ0MjY2MGU3NyJ9.eyJzdWIiOiI1MzE0ODc5YWM2NDU1OGI3OTQ5ZmI4NWIzMjg2ZjZjNjUwODAzYmFiMTY0Y2QyOWNmMmM3YzdmMjMzMWMwZTRlIiwiaWF0IjoxNzA2MTEzMDYyLCJleHAiOjE3NjkxODUwNjMsImlzcyI6ImF1dGgubWV0YW1hc2suaW8iLCJhdWQiOiJwb3J0Zm9saW8ubWV0YW1hc2suaW8ifQ.E5UL6oABNweS8t5a6IBTqTf7NLOJbrhJSmEcsr7kwLp4bGvcENJzACwnsHDkA6PlzfDV09ZhAGU_F3hlS0j-erbY0k0AFR-GAtyS7E9N02D8RgUDz5oDR65CKmzM8JilgFA8UvruJ6OJGogroaOSOqzRES_s8MjHpP47RJ9lXrUesajsbOudXbuksXWg5QmWip6LLvjwr8UUzcJzNQilyIhiEpo4WdzWM4R3VtTwr4rHnWEvtYnYCov1jmI2w3YQ48y0M-3Y9IOO0ov_vlITRrOnR7Y7fRUGLUFmU5msD8mNWRywjQFLHfJJ1yNP5aJ8TkuCK3sC6kcUH335IVvukQ";
|
|
7
|
+
export declare const MOCK_ACCESS_JWT = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c";
|
|
8
|
+
export declare const MOCK_SRP_LOGIN_RESPONSE: {
|
|
9
|
+
token: string;
|
|
10
|
+
expires_in: number;
|
|
11
|
+
profile: {
|
|
12
|
+
profile_id: string;
|
|
13
|
+
metametrics_id: string;
|
|
14
|
+
identifier_id: string;
|
|
15
|
+
identifier_type: string;
|
|
16
|
+
encrypted_storage_key: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const MOCK_OIDC_TOKEN_RESPONSE: {
|
|
20
|
+
access_token: string;
|
|
21
|
+
expires_in: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const handleMockNonce: (mockReply?: MockReply) => nock.Scope;
|
|
24
|
+
export declare const handleMockSiweLogin: (mockReply?: MockReply) => nock.Scope;
|
|
25
|
+
export declare const handleMockSrpLogin: (mockReply?: MockReply) => nock.Scope;
|
|
26
|
+
export declare const handleMockOAuth2Token: (mockReply?: MockReply) => nock.Scope;
|
|
27
|
+
export declare const arrangeAuthAPIs: (options?: {
|
|
28
|
+
mockNonceUrl?: MockReply;
|
|
29
|
+
mockOAuth2TokenUrl?: MockReply;
|
|
30
|
+
mockSrpLoginUrl?: MockReply;
|
|
31
|
+
mockSiweLoginUrl?: MockReply;
|
|
32
|
+
}) => {
|
|
33
|
+
mockNonceUrl: nock.Scope;
|
|
34
|
+
mockOAuth2TokenUrl: nock.Scope;
|
|
35
|
+
mockSrpLoginUrl: nock.Scope;
|
|
36
|
+
mockSiweLoginUrl: nock.Scope;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=mock-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-auth.d.ts","sourceRoot":"","sources":["../../../../src/sdk/__fixtures__/mock-auth.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAUxB,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;CAClB,CAAC;AAOF,eAAO,MAAM,QAAQ,upBACioB,CAAC;AAEvpB,eAAO,MAAM,eAAe,gKACmI,CAAC;AAqBhK,eAAO,MAAM,uBAAuB;;;;;;;;;;CAWnC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;CAGpC,CAAC;AAEF,eAAO,MAAM,eAAe,eAAgB,SAAS,eAUpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAAgB,SAAS,eAQxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,eAAgB,SAAS,eAQvD,CAAC;AAEF,eAAO,MAAM,qBAAqB,eAAgB,SAAS,eAQ1D,CAAC;AAEF,eAAO,MAAM,eAAe,aAAc;IACxC,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;;;;;CAYA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import nock from 'nock';
|
|
2
|
+
type MockReply = {
|
|
3
|
+
status: nock.StatusCode;
|
|
4
|
+
body?: nock.Body;
|
|
5
|
+
};
|
|
6
|
+
export declare const MOCK_STORAGE_KEY = "MOCK_STORAGE_KEY";
|
|
7
|
+
export declare const MOCK_NOTIFICATIONS_DATA: {
|
|
8
|
+
is_compact: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const MOCK_NOTIFICATIONS_DATA_ENCRYPTED: string;
|
|
11
|
+
export declare const MOCK_STORAGE_RESPONSE: {
|
|
12
|
+
HashedKey: string;
|
|
13
|
+
Data: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const handleMockUserStorageGet: (mockReply?: MockReply) => nock.Scope;
|
|
16
|
+
export declare const handleMockUserStoragePut: (mockReply?: MockReply) => nock.Scope;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=mock-userstorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-userstorage.d.ts","sourceRoot":"","sources":["../../../../src/sdk/__fixtures__/mock-userstorage.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAMxB,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;CAClB,CAAC;AAKF,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,uBAAuB;;CAAwB,CAAC;AAC7D,eAAO,MAAM,iCAAiC,QAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,eAAgB,SAAS,eAQ7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,eAAgB,SAAS,eAQ7D,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="jest" />
|
|
2
|
+
import { JwtBearerAuth } from '../authentication';
|
|
3
|
+
import type { AuthSigningOptions } from '../authentication-jwt-bearer/types';
|
|
4
|
+
import { AuthType } from '../authentication-jwt-bearer/types';
|
|
5
|
+
export type MockVariable = any;
|
|
6
|
+
export declare const typedMockFn: <Fn extends (...args: any[]) => any>() => jest.Mock<ReturnType<Fn>, Parameters<Fn>>;
|
|
7
|
+
/**
|
|
8
|
+
* Mock Utility - Arrange Auth
|
|
9
|
+
*
|
|
10
|
+
* @param type - choose SIWE or SRP Auth instance
|
|
11
|
+
* @param mockPublicKey - provide the mock public key
|
|
12
|
+
* @param authOptionsOverride - overrides
|
|
13
|
+
* @param authOptionsOverride.signing - override auth signing
|
|
14
|
+
* @returns Auth instance
|
|
15
|
+
*/
|
|
16
|
+
export declare function arrangeAuth(type: `${AuthType}`, mockPublicKey: string, authOptionsOverride?: {
|
|
17
|
+
signing?: AuthSigningOptions;
|
|
18
|
+
}): {
|
|
19
|
+
mockGetLoginResponse: jest.Mock<Promise<import("../authentication").LoginResponse | null>, []>;
|
|
20
|
+
mockSetLoginResponse: jest.Mock<Promise<void>, [val: import("../authentication").LoginResponse]>;
|
|
21
|
+
mockGetIdentifier: jest.Mock<Promise<string>, []>;
|
|
22
|
+
mockSignMessage: jest.Mock<Promise<string>, [message: string]>;
|
|
23
|
+
auth: JwtBearerAuth;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../../src/sdk/__fixtures__/test-utils.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EACV,kBAAkB,EAEnB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAK9D,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC;AAI/B,eAAO,MAAM,WAAW,wBAAyB,GAAG,EAAE,KAAK,GAAG,gDACnB,CAAC;AAqB5C;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,GAAG,QAAQ,EAAE,EACnB,aAAa,EAAE,MAAM,EACrB,mBAAmB,CAAC,EAAE;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B;;;;;;EAmDF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/sdk/authentication-jwt-bearer/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,QAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AuthConfig, AuthStorageOptions, AuthType, IBaseAuth, UserProfile } from './types';
|
|
2
|
+
type JwtBearerAuth_SIWE_Options = {
|
|
3
|
+
storage: AuthStorageOptions;
|
|
4
|
+
};
|
|
5
|
+
type JwtBearerAuth_SIWE_Signer = {
|
|
6
|
+
address: string;
|
|
7
|
+
chainId: number;
|
|
8
|
+
signMessage: (message: string) => Promise<string>;
|
|
9
|
+
domain: string;
|
|
10
|
+
};
|
|
11
|
+
export declare class SIWEJwtBearerAuth implements IBaseAuth {
|
|
12
|
+
#private;
|
|
13
|
+
constructor(config: AuthConfig & {
|
|
14
|
+
type: AuthType.SiWE;
|
|
15
|
+
}, options: JwtBearerAuth_SIWE_Options);
|
|
16
|
+
getAccessToken(): Promise<string>;
|
|
17
|
+
getUserProfile(): Promise<UserProfile>;
|
|
18
|
+
getIdentifier(): Promise<string>;
|
|
19
|
+
signMessage(message: string): Promise<string>;
|
|
20
|
+
prepare(signer: JwtBearerAuth_SIWE_Signer): void;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=flow-siwe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-siwe.d.ts","sourceRoot":"","sources":["../../../../src/sdk/authentication-jwt-bearer/flow-siwe.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,SAAS,EAET,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAClD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,iBAAkB,YAAW,SAAS;;gBAQ/C,MAAM,EAAE,UAAU,GAAG;QAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAA;KAAE,EAC5C,OAAO,EAAE,0BAA0B;IAM/B,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAUjC,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;IAUtC,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAKhC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKnD,OAAO,CAAC,MAAM,EAAE,yBAAyB;CAyE1C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AuthConfig, AuthSigningOptions, AuthStorageOptions, AuthType, IBaseAuth, UserProfile } from './types';
|
|
2
|
+
type JwtBearerAuth_SRP_Options = {
|
|
3
|
+
storage: AuthStorageOptions;
|
|
4
|
+
signing?: AuthSigningOptions;
|
|
5
|
+
};
|
|
6
|
+
export declare class SRPJwtBearerAuth implements IBaseAuth {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(config: AuthConfig & {
|
|
9
|
+
type: AuthType.SRP;
|
|
10
|
+
}, options: JwtBearerAuth_SRP_Options);
|
|
11
|
+
getAccessToken(): Promise<string>;
|
|
12
|
+
getUserProfile(): Promise<UserProfile>;
|
|
13
|
+
getIdentifier(): Promise<string>;
|
|
14
|
+
signMessage(message: string): Promise<string>;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=flow-srp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-srp.d.ts","sourceRoot":"","sources":["../../../../src/sdk/authentication-jwt-bearer/flow-srp.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,QAAQ,EACR,SAAS,EAET,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAuBF,qBAAa,gBAAiB,YAAW,SAAS;;gBAM9C,MAAM,EAAE,UAAU,GAAG;QAAE,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAA;KAAE,EAC3C,OAAO,EAAE,yBAAyB;IAS9B,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAUjC,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;IAUtC,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CA4DpD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Env } from '../env';
|
|
2
|
+
import type { AccessToken, UserProfile } from './types';
|
|
3
|
+
import { AuthType } from './types';
|
|
4
|
+
export declare const NONCE_URL: (env: Env) => string;
|
|
5
|
+
export declare const OIDC_TOKEN_URL: (env: Env) => string;
|
|
6
|
+
export declare const SRP_LOGIN_URL: (env: Env) => string;
|
|
7
|
+
export declare const SIWE_LOGIN_URL: (env: Env) => string;
|
|
8
|
+
type NonceResponse = {
|
|
9
|
+
nonce: string;
|
|
10
|
+
identifier: string;
|
|
11
|
+
expiresIn: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Service to Get Nonce for JWT Bearer Flow
|
|
15
|
+
*
|
|
16
|
+
* @param id - identifier ID
|
|
17
|
+
* @param env - server environment
|
|
18
|
+
* @returns the nonce.
|
|
19
|
+
*/
|
|
20
|
+
export declare function getNonce(id: string, env: Env): Promise<NonceResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Service to Authorize And perform OIDC Flow to get the Access Token
|
|
23
|
+
*
|
|
24
|
+
* @param jwtToken - The original token received from Authentication. This is traded for the Access Token. (the authentication token is single-use)
|
|
25
|
+
* @param env - server environment
|
|
26
|
+
* @returns Access Token from Authorization server
|
|
27
|
+
*/
|
|
28
|
+
export declare function authorizeOIDC(jwtToken: string, env: Env): Promise<AccessToken>;
|
|
29
|
+
type Authentication = {
|
|
30
|
+
token: string;
|
|
31
|
+
expiresIn: number;
|
|
32
|
+
profile: UserProfile;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Service to Authenticate/Login a user via SIWE or SRP derived key.
|
|
36
|
+
*
|
|
37
|
+
* @param rawMessage - raw message for validation when authenticating
|
|
38
|
+
* @param signature - signed raw message
|
|
39
|
+
* @param authType - authentication type/flow used
|
|
40
|
+
* @param env - server environment
|
|
41
|
+
* @returns Authentication Token
|
|
42
|
+
*/
|
|
43
|
+
export declare function authenticate(rawMessage: string, signature: string, authType: AuthType, env: Env): Promise<Authentication>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=services.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../../src/sdk/authentication-jwt-bearer/services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAGlC,OAAO,KAAK,EAAE,WAAW,EAAgB,WAAW,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,SAAS,QAAS,GAAG,WACY,CAAC;AAE/C,eAAO,MAAM,cAAc,QAAS,GAAG,WACO,CAAC;AAE/C,eAAO,MAAM,aAAa,QAAS,GAAG,WACY,CAAC;AAEnD,eAAO,MAAM,cAAc,QAAS,GAAG,WACY,CAAC;AAgBpD,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,CAyB3E;AAED;;;;;;GAMG;AACH,wBAAsB,aAAa,CACjC,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,GAAG,GACP,OAAO,CAAC,WAAW,CAAC,CAwCtB;AAED,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AACF;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CAChC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,GACP,OAAO,CAAC,cAAc,CAAC,CAsCzB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { Env } from '../env';
|
|
2
|
+
export declare const enum AuthType {
|
|
3
|
+
SRP = "SRP",
|
|
4
|
+
SiWE = "SiWE"
|
|
5
|
+
}
|
|
6
|
+
export type AuthConfig = {
|
|
7
|
+
env: Env;
|
|
8
|
+
type: AuthType;
|
|
9
|
+
};
|
|
10
|
+
export type AccessToken = {
|
|
11
|
+
/**
|
|
12
|
+
* The JWT Access Token
|
|
13
|
+
*/
|
|
14
|
+
accessToken: string;
|
|
15
|
+
/**
|
|
16
|
+
* Expiration in seconds
|
|
17
|
+
*/
|
|
18
|
+
expiresIn: number;
|
|
19
|
+
/**
|
|
20
|
+
* Date in milliseconds
|
|
21
|
+
*/
|
|
22
|
+
obtainedAt: number;
|
|
23
|
+
};
|
|
24
|
+
export type UserProfile = {
|
|
25
|
+
/**
|
|
26
|
+
* The "Identifier" used to log in with.
|
|
27
|
+
*/
|
|
28
|
+
identifierId: string;
|
|
29
|
+
/**
|
|
30
|
+
* The Unique profile for a logged in user. A Profile can be logged in via multiple Identifiers
|
|
31
|
+
*/
|
|
32
|
+
profileId: string;
|
|
33
|
+
/**
|
|
34
|
+
* Server MetaMetrics ID. Allows grouping of user events cross platform.
|
|
35
|
+
*/
|
|
36
|
+
metaMetricsId: string;
|
|
37
|
+
};
|
|
38
|
+
export type LoginResponse = {
|
|
39
|
+
token: AccessToken;
|
|
40
|
+
profile: UserProfile;
|
|
41
|
+
};
|
|
42
|
+
export type IBaseAuth = {
|
|
43
|
+
getAccessToken: () => Promise<string>;
|
|
44
|
+
getUserProfile: () => Promise<UserProfile>;
|
|
45
|
+
getIdentifier: () => Promise<string>;
|
|
46
|
+
signMessage: (message: string) => Promise<string>;
|
|
47
|
+
};
|
|
48
|
+
export type AuthStorageOptions = {
|
|
49
|
+
getLoginResponse: () => Promise<LoginResponse | null>;
|
|
50
|
+
setLoginResponse: (val: LoginResponse) => Promise<void>;
|
|
51
|
+
};
|
|
52
|
+
export type AuthSigningOptions = {
|
|
53
|
+
signMessage: (message: string) => Promise<string>;
|
|
54
|
+
getIdentifier: () => Promise<string>;
|
|
55
|
+
};
|
|
56
|
+
export type ErrorMessage = {
|
|
57
|
+
message: string;
|
|
58
|
+
error: string;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sdk/authentication-jwt-bearer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAElC,0BAAkB,QAAQ;IAGxB,GAAG,QAAQ;IAGX,IAAI,SAAS;CACd;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,cAAc,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IACtC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC;IAC3C,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IACrC,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,gBAAgB,EAAE,MAAM,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACtD,gBAAgB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAClD,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SIWEJwtBearerAuth } from './authentication-jwt-bearer/flow-siwe';
|
|
2
|
+
import { SRPJwtBearerAuth } from './authentication-jwt-bearer/flow-srp';
|
|
3
|
+
import type { UserProfile } from './authentication-jwt-bearer/types';
|
|
4
|
+
type Compute<T> = T extends infer U ? {
|
|
5
|
+
[K in keyof U]: U[K];
|
|
6
|
+
} : never;
|
|
7
|
+
type SIWEInterface = Compute<SIWEJwtBearerAuth>;
|
|
8
|
+
type SRPInterface = Compute<SRPJwtBearerAuth>;
|
|
9
|
+
type SiweParams = ConstructorParameters<typeof SIWEJwtBearerAuth>;
|
|
10
|
+
type SRPParams = ConstructorParameters<typeof SRPJwtBearerAuth>;
|
|
11
|
+
type JwtBearerAuthParams = SiweParams | SRPParams;
|
|
12
|
+
export declare class JwtBearerAuth implements SIWEInterface, SRPInterface {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(...args: JwtBearerAuthParams);
|
|
15
|
+
getAccessToken(): Promise<string>;
|
|
16
|
+
getUserProfile(): Promise<UserProfile>;
|
|
17
|
+
getIdentifier(): Promise<string>;
|
|
18
|
+
signMessage(message: string): Promise<string>;
|
|
19
|
+
prepare(signer: {
|
|
20
|
+
address: string;
|
|
21
|
+
chainId: number;
|
|
22
|
+
signMessage: (message: string) => Promise<string>;
|
|
23
|
+
domain: string;
|
|
24
|
+
}): void;
|
|
25
|
+
}
|
|
26
|
+
export { SIWEJwtBearerAuth } from './authentication-jwt-bearer/flow-siwe';
|
|
27
|
+
export { SRPJwtBearerAuth } from './authentication-jwt-bearer/flow-srp';
|
|
28
|
+
export * from './authentication-jwt-bearer/types';
|
|
29
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../../src/sdk/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAKrE,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,KAAK,CAAC;AACvE,KAAK,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAChD,KAAK,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAE9C,KAAK,UAAU,GAAG,qBAAqB,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,KAAK,SAAS,GAAG,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAChE,KAAK,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAAC;AAElD,qBAAa,aAAc,YAAW,aAAa,EAAE,YAAY;;gBAKnD,GAAG,IAAI,EAAE,mBAAmB;IAgBlC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAIjC,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;IAItC,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAInD,OAAO,CAAC,MAAM,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;QAClD,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,IAAI;CAiBT;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type EncryptedPayload = {
|
|
2
|
+
v: '1';
|
|
3
|
+
d: string;
|
|
4
|
+
iterations: number;
|
|
5
|
+
};
|
|
6
|
+
declare class EncryptorDecryptor {
|
|
7
|
+
#private;
|
|
8
|
+
encryptString(plaintext: string, password: string): string;
|
|
9
|
+
decryptString(encryptedDataStr: string, password: string): string;
|
|
10
|
+
}
|
|
11
|
+
declare const encryption: EncryptorDecryptor;
|
|
12
|
+
export default encryption;
|
|
13
|
+
/**
|
|
14
|
+
* Create a SHA-256 hash from a given string.
|
|
15
|
+
*
|
|
16
|
+
* @param data - input
|
|
17
|
+
* @returns hash
|
|
18
|
+
*/
|
|
19
|
+
export declare function createSHA256Hash(data: string): string;
|
|
20
|
+
//# sourceMappingURL=encryption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encryption.d.ts","sourceRoot":"","sources":["../../../src/sdk/encryption.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,EAAE,GAAG,CAAC;IACP,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAgCF,cAAM,kBAAkB;;IAStB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM;IAc1D,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM;CAyFlE;AAED,QAAA,MAAM,UAAU,oBAA2B,CAAC;AAC5C,eAAe,UAAU,CAAC;AAE1B;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGrD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const enum Env {
|
|
2
|
+
DEV = "dev",
|
|
3
|
+
UAT = "uat",
|
|
4
|
+
PRD = "prd"
|
|
5
|
+
}
|
|
6
|
+
type EnvUrlsEntry = {
|
|
7
|
+
authApiUrl: string;
|
|
8
|
+
oidcApiUrl: string;
|
|
9
|
+
userStorageApiUrl: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Validates and returns correct environment endpoints
|
|
13
|
+
*
|
|
14
|
+
* @param env - environment field
|
|
15
|
+
* @returns the correct environment url
|
|
16
|
+
* @throws on invalid environment passed
|
|
17
|
+
*/
|
|
18
|
+
export declare function getEnvUrls(env: Env): EnvUrlsEntry;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the valid OIDC Client ID (used during authorization)
|
|
21
|
+
*
|
|
22
|
+
* @param env - environment field
|
|
23
|
+
* @returns the OIDC client id for the environment
|
|
24
|
+
*/
|
|
25
|
+
export declare function getOidcClientId(env: Env): string;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=env.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../src/sdk/env.ts"],"names":[],"mappings":"AAAA,0BAAkB,GAAG;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAoBF;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAKjD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAchD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class NonceRetrievalError extends Error {
|
|
2
|
+
constructor(message: string);
|
|
3
|
+
}
|
|
4
|
+
export declare class SignInError extends Error {
|
|
5
|
+
constructor(message: string);
|
|
6
|
+
}
|
|
7
|
+
export declare class UserStorageError extends Error {
|
|
8
|
+
constructor(message: string);
|
|
9
|
+
}
|
|
10
|
+
export declare class ValidationError extends Error {
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
}
|
|
13
|
+
export declare class UnsupportedAuthTypeError extends Error {
|
|
14
|
+
constructor(message: string);
|
|
15
|
+
}
|
|
16
|
+
export declare class NotFoundError extends Error {
|
|
17
|
+
constructor(message: string);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,WAAY,SAAQ,KAAK;gBACxB,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,eAAgB,SAAQ,KAAK;gBAC5B,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,wBAAyB,SAAQ,KAAK;gBACrC,OAAO,EAAE,MAAM;CAI5B;AAED,qBAAa,aAAc,SAAQ,KAAK;gBAC1B,OAAO,EAAE,MAAM;CAI5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { IBaseAuth } from './authentication-jwt-bearer/types';
|
|
2
|
+
import type { Env } from './env';
|
|
3
|
+
export declare const STORAGE_URL: (env: Env, feature: string, entry: string) => string;
|
|
4
|
+
export type UserStorageConfig = {
|
|
5
|
+
env: Env;
|
|
6
|
+
auth: Pick<IBaseAuth, 'getAccessToken' | 'getUserProfile' | 'signMessage'>;
|
|
7
|
+
};
|
|
8
|
+
export type StorageOptions = {
|
|
9
|
+
getStorageKey: () => Promise<string | null>;
|
|
10
|
+
setStorageKey: (val: string) => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export type UserStorageOptions = {
|
|
13
|
+
storage?: StorageOptions;
|
|
14
|
+
};
|
|
15
|
+
export declare class UserStorage {
|
|
16
|
+
#private;
|
|
17
|
+
protected config: UserStorageConfig;
|
|
18
|
+
protected options: UserStorageOptions;
|
|
19
|
+
protected env: Env;
|
|
20
|
+
constructor(config: UserStorageConfig, options: UserStorageOptions);
|
|
21
|
+
setItem(feature: string, key: string, value: string): Promise<void>;
|
|
22
|
+
getItem(feature: string, key: string): Promise<string>;
|
|
23
|
+
getStorageKey(): Promise<string>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=user-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-storage.d.ts","sourceRoot":"","sources":["../../../src/sdk/user-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAIjC,eAAO,MAAM,WAAW,QAAS,GAAG,WAAW,MAAM,SAAS,MAAM,WACW,CAAC;AAEhF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,gBAAgB,GAAG,aAAa,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5C,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAOF,qBAAa,WAAW;;IACtB,SAAS,CAAC,MAAM,EAAE,iBAAiB,CAAC;IAEpC,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAC;IAEtC,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;gBAEP,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,kBAAkB;IAM5D,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOnE,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAOtD,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;CA8GvC"}
|