anchor/ts/dist/browser/index.js.map

1 line
348 KiB
Plaintext
Raw Normal View History

2022-10-27 09:05:33 -07:00
{"version":3,"file":"index.js","sources":["../../../src/utils/common.ts","../../../src/utils/bytes/hex.ts","../../../src/utils/bytes/utf8.ts","../../../src/utils/bytes/bs58.ts","../../../src/utils/bytes/base64.ts","../../../src/program/common.ts","../../node_modules/superstruct/lib/index.es.js","../../../src/utils/rpc.ts","../../../src/provider.ts","../../../src/utils/features.ts","../../../src/error.ts","../../node_modules/tslib/tslib.es6.js","../../node_modules/lower-case/dist.es2015/index.js","../../node_modules/no-case/dist.es2015/index.js","../../node_modules/dot-case/dist.es2015/index.js","../../node_modules/snake-case/dist.es2015/index.js","../../../src/coder/borsh/idl.ts","../../../src/coder/borsh/instruction.ts","../../../src/coder/common.ts","../../../src/coder/borsh/accounts.ts","../../../src/coder/borsh/event.ts","../../../src/coder/borsh/state.ts","../../../src/coder/borsh/types.ts","../../../src/coder/borsh/index.ts","../../node_modules/buffer-layout/lib/Layout.js","../../../src/coder/spl-token/instruction.ts","../../../src/coder/spl-token/state.ts","../../../src/coder/spl-token/buffer-layout.ts","../../../src/coder/spl-token/accounts.ts","../../../src/coder/spl-token/events.ts","../../../src/coder/spl-token/types.ts","../../../src/coder/spl-token/index.ts","../../../src/coder/system/instruction.ts","../../../src/coder/system/state.ts","../../../src/coder/system/accounts.ts","../../../src/coder/system/events.ts","../../../src/coder/system/types.ts","../../../src/coder/system/index.ts","../../../src/utils/sha256.ts","../../../src/utils/pubkey.ts","../../../src/utils/token.ts","../../node_modules/cross-fetch/dist/browser-ponyfill.js","../../../src/utils/registry.ts","../../../src/idl.ts","../../../src/program/context.ts","../../../src/program/namespace/instruction.ts","../../../src/program/namespace/rpc.ts","../../../src/program/namespace/transaction.ts","../../../src/program/namespace/state.ts","../../../src/program/namespace/account.ts","../../../src/program/event.ts","../../../src/program/namespace/simulate.ts","../../../src/spl/token.ts","../../../src/program/accounts-resolver.ts","../../../src/program/namespace/methods.ts","../../../src/program/namespace/views.ts","../../../src/program/namespace/index.ts","../../../src/program/index.ts","../../../src/coder/spl-associated-token/instruction.ts","../../../src/coder/spl-associated-token/state.ts","../../../src/coder/spl-associated-token/accounts.ts","../../../src/coder/spl-associated-token/events.ts","../../../src/coder/spl-associated-token/types.ts","../../../src/coder/spl-associated-token/index.ts","../../../src/spl/associated-token.ts","../../../src/spl/index.ts","../../../src/native/system.ts","../../../src/native/index.ts"],"sourcesContent":[null,null,null,null,null,null,"/**\n * A `StructFailure` represents a single specific failure in validation.\n */\n\n/**\n * `StructError` objects are thrown (or returned) when validation fails.\n *\n * Validation logic is design to exit early for maximum performance. The error\n * represents the first error encountered during validation. For more detail,\n * the `error.failures` property is a generator function that can be run to\n * continue validation and receive all the failures in the data.\n */\nclass StructError extends TypeError {\n constructor(failure, failures) {\n let cached;\n const {\n message,\n ...rest\n } = failure;\n const {\n path\n } = failure;\n const msg = path.length === 0 ? message : \"At path: \" + path.join('.') + \" -- \" + message;\n super(msg);\n this.value = void 0;\n this.key = void 0;\n this.type = void 0;\n this.refinement = void 0;\n this.path = void 0;\n this.branch = void 0;\n this.failures = void 0;\n Object.assign(this, rest);\n this.name = this.constructor.name;\n\n this.failures = () => {\n var _cached;\n\n return (_cached = cached) != null ? _cached : cached = [failure, ...failures()];\n };\n }\n\n}\n\n/**\n * Check if a value is an iterator.\n */\nfunction isIterable(x) {\n return isObject(x) &