@guru-fund/sdk 0.2.5 → 0.2.6

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.
@@ -1,6 +1,6 @@
1
1
  import { ContractTransactionReceipt, Interface } from 'ethers';
2
2
  import { TypedContractEvent } from '../typechain/common';
3
- type TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? V : never;
3
+ type TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? keyof V extends never ? any : V : any;
4
4
  export default class ReceiptParser {
5
5
  private receipt;
6
6
  constructor(receipt: ContractTransactionReceipt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guru-fund/sdk",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Guru Protocol SDK — quote + transaction builders for on-chain managed funds.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -53,7 +53,7 @@
53
53
  "clean": "rm -rf dist .turbo tsconfig.build.tsbuildinfo",
54
54
  "typecheck": "tsc --noEmit",
55
55
  "test": "node --import tsx --test test/*.test.ts",
56
- "prepack": "pnpm run build"
56
+ "prepack": "npm run build"
57
57
  },
58
58
  "dependencies": {
59
59
  "ethers": "=6.15.0",