@staratlas/data-source
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -25,4 +25,12 @@ /// <reference types="node" /> | ||
} | ||
interface ToBufferInterface { | ||
toBuffer: () => Buffer; | ||
} | ||
export declare type ToBuffer = ToBufferInterface | PublicKey | Buffer | Uint8Array | string; | ||
export interface PdaAccountStatic<Self extends Account, IDL extends Idl, SeedsArgs extends Record<string, ToBuffer>> extends AccountStatic<Self, IDL> { | ||
findAddress(program: ProgramMethods<IDL>, args: SeedsArgs): [PublicKey, number]; | ||
} | ||
export declare function decodeAccount<A extends Account, D, IDL extends Idl>(account: KeyedAccountInfo, program: ProgramMethods<IDL>, accountClass: AccountStatic<A, IDL> & (new (data: D, key: PublicKey) => A)): DecodedAccountData<A>; | ||
export declare function decodeAccountWithRemaining<A extends Account, D, R, IDL extends Idl>(account: KeyedAccountInfo, program: ProgramMethods<IDL>, accountClass: AccountStatic<A, IDL> & (new (data: D, key: PublicKey, remainingData: R) => A), remainingDataFunc: (remainingData: Buffer, data: D) => R): DecodedAccountData<A>; | ||
export {}; | ||
//# sourceMappingURL=account.d.ts.map |
{ | ||
"name": "@staratlas/data-source", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "> TODO: description", | ||
@@ -30,8 +30,6 @@ "author": "Brett Etter <brett.etter@staratlas.com>", | ||
"dependencies": { | ||
"@project-serum/anchor": "^0.25.0", | ||
"@solana/web3.js": "^1.66.2", | ||
"camelcase": "^7.0.0", | ||
"lodash": "^4.17.21" | ||
}, | ||
"gitHead": "1de3caeada8ac8231103b4fc2237d55bfd95f469" | ||
"gitHead": "3b02d5c46c35213403d3446ebfd796c9b926cb88" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123869
2
1426
- Removed@project-serum/anchor@^0.25.0
- Removed@solana/web3.js@^1.66.2
- Removed@babel/runtime@7.26.0(transitive)
- Removed@noble/curves@1.7.0(transitive)
- Removed@noble/hashes@1.6.01.6.1(transitive)
- Removed@project-serum/anchor@0.25.0(transitive)
- Removed@project-serum/borsh@0.2.5(transitive)
- Removed@solana/buffer-layout@4.0.1(transitive)
- Removed@solana/web3.js@1.95.8(transitive)
- Removed@swc/helpers@0.5.15(transitive)
- Removed@types/connect@3.4.38(transitive)
- Removed@types/node@12.20.55(transitive)
- Removed@types/uuid@8.3.4(transitive)
- Removed@types/ws@7.4.78.5.13(transitive)
- RemovedJSONStream@1.3.5(transitive)
- Removedagentkeepalive@4.5.0(transitive)
- Removedbase-x@3.0.10(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbigint-buffer@1.1.5(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbn.js@5.2.1(transitive)
- Removedborsh@0.7.0(transitive)
- Removedbs58@4.0.1(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedbuffer-layout@1.2.2(transitive)
- Removedbufferutil@4.0.8(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcross-fetch@3.1.8(transitive)
- Removedcrypto-hash@1.3.0(transitive)
- Removeddelay@5.0.0(transitive)
- Removeddot-case@3.0.4(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedeventemitter3@4.0.75.0.1(transitive)
- Removedeyes@0.1.8(transitive)
- Removedfast-stable-stringify@1.0.0(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedhumanize-ms@1.2.1(transitive)
- Removedieee754@1.2.1(transitive)
- Removedisomorphic-ws@4.0.1(transitive)
- Removedjayson@4.1.3(transitive)
- Removedjs-sha256@0.9.0(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsonparse@1.3.1(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedms@2.1.3(transitive)
- Removedno-case@3.0.4(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednode-gyp-build@4.8.4(transitive)
- Removedpako@2.1.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedrpc-websockets@9.0.4(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsnake-case@3.0.4(transitive)
- Removedsuperstruct@0.15.52.0.2(transitive)
- Removedtext-encoding-utf-8@1.0.2(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtoml@3.0.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedtslib@2.8.1(transitive)
- Removedutf-8-validate@5.0.10(transitive)
- Removeduuid@8.3.2(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedws@7.5.108.18.0(transitive)