@saberhq/anchor-contrib
Advanced tools
Comparing version 0.16.0 to 0.17.0
@@ -78,3 +78,5 @@ /// <reference types="node" /> | ||
vec: keyof TypeMap; | ||
} ? TypeMap[T["vec"]][] : unknown; | ||
} ? TypeMap[T["vec"]][] : T extends { | ||
array: [idlType: keyof TypeMap, size: number]; | ||
} ? TypeMap[T["array"][0]][] : unknown; | ||
declare type MakeArgs<A extends IdlField[], Defined> = { | ||
@@ -81,0 +83,0 @@ [K in keyof A]: A[K] extends IdlField ? DecodeType<A[K]["type"], Defined> : unknown; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"main": "dist/index.js", | ||
@@ -18,4 +18,4 @@ "author": "Ian Macalinao <ian@saber.so>", | ||
"dependencies": { | ||
"@project-serum/anchor": "^0.13.0", | ||
"@solana/web3.js": "^1.23.0", | ||
"@project-serum/anchor": "^0.15.0", | ||
"@solana/web3.js": "^1.25.0", | ||
"eventemitter3": "^4.0.7" | ||
@@ -30,3 +30,3 @@ }, | ||
}, | ||
"gitHead": "00e9ff6275fbc9d49b8e7d92bbd173ac677d3e4d" | ||
"gitHead": "67d0cda9fcc2e05d1f6f04543f11014942ad1bbd" | ||
} |
@@ -127,2 +127,4 @@ import type { | ||
? TypeMap[T["vec"]][] | ||
: T extends { array: [idlType: keyof TypeMap, size: number] } | ||
? TypeMap[T["array"][0]][] | ||
: unknown; | ||
@@ -129,0 +131,0 @@ |
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
33650
382
+ Added@project-serum/anchor@0.15.0(transitive)
- Removed@project-serum/anchor@0.13.2(transitive)
Updated@solana/web3.js@^1.25.0