@huma-finance/permissionless-sdk 1.0.22 → 1.0.23

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.
@@ -1006,6 +1006,87 @@
1006
1006
  }
1007
1007
  ]
1008
1008
  },
1009
+ {
1010
+ "name": "clear_instant_withdrawal_liquidity_source",
1011
+ "docs": [
1012
+ "Clears the deployment target from which liquidity is pulled when the pool's available",
1013
+ "balance is insufficient to satisfy an instant withdrawal.",
1014
+ "",
1015
+ "# Trigger Condition",
1016
+ "When the protocol is on.",
1017
+ "",
1018
+ "# Access Control",
1019
+ "Only strategy manager wallets can call this instruction."
1020
+ ],
1021
+ "discriminator": [53, 151, 188, 231, 236, 184, 141, 85],
1022
+ "accounts": [
1023
+ {
1024
+ "name": "wallet",
1025
+ "signer": true,
1026
+ "relations": ["strategy_manager_wallet"]
1027
+ },
1028
+ {
1029
+ "name": "huma_config",
1030
+ "relations": ["pool_config"]
1031
+ },
1032
+ {
1033
+ "name": "pool_config",
1034
+ "writable": true,
1035
+ "pda": {
1036
+ "seeds": [
1037
+ {
1038
+ "kind": "const",
1039
+ "value": [112, 111, 111, 108, 95, 99, 111, 110, 102, 105, 103]
1040
+ },
1041
+ {
1042
+ "kind": "account",
1043
+ "path": "pool_config.pool_id",
1044
+ "account": "PoolConfig"
1045
+ }
1046
+ ]
1047
+ }
1048
+ },
1049
+ {
1050
+ "name": "pool_state",
1051
+ "pda": {
1052
+ "seeds": [
1053
+ {
1054
+ "kind": "const",
1055
+ "value": [112, 111, 111, 108, 95, 115, 116, 97, 116, 101]
1056
+ },
1057
+ {
1058
+ "kind": "account",
1059
+ "path": "pool_config"
1060
+ }
1061
+ ]
1062
+ }
1063
+ },
1064
+ {
1065
+ "name": "strategy_manager_wallet",
1066
+ "pda": {
1067
+ "seeds": [
1068
+ {
1069
+ "kind": "const",
1070
+ "value": [
1071
+ 115, 116, 114, 97, 116, 101, 103, 121, 95, 109, 97, 110, 97,
1072
+ 103, 101, 114, 95, 119, 97, 108, 108, 101, 116
1073
+ ]
1074
+ },
1075
+ {
1076
+ "kind": "account",
1077
+ "path": "pool_config"
1078
+ },
1079
+ {
1080
+ "kind": "account",
1081
+ "path": "strategy_manager_wallet.wallet",
1082
+ "account": "StrategyManagerWallet"
1083
+ }
1084
+ ]
1085
+ }
1086
+ }
1087
+ ],
1088
+ "args": []
1089
+ },
1009
1090
  {
1010
1091
  "name": "close_lender_accounts",
1011
1092
  "docs": [
@@ -2453,11 +2534,13 @@
2453
2534
  }
2454
2535
  },
2455
2536
  {
2456
- "name": "deployment_config"
2537
+ "name": "deployment_config",
2538
+ "optional": true
2457
2539
  },
2458
2540
  {
2459
2541
  "name": "deployment_state",
2460
2542
  "writable": true,
2543
+ "optional": true,
2461
2544
  "pda": {
2462
2545
  "seeds": [
2463
2546
  {
@@ -2688,11 +2771,13 @@
2688
2771
  }
2689
2772
  },
2690
2773
  {
2691
- "name": "deployment_config"
2774
+ "name": "deployment_config",
2775
+ "optional": true
2692
2776
  },
2693
2777
  {
2694
2778
  "name": "deployment_state",
2695
2779
  "writable": true,
2780
+ "optional": true,
2696
2781
  "pda": {
2697
2782
  "seeds": [
2698
2783
  {
@@ -4317,6 +4402,90 @@
4317
4402
  }
4318
4403
  ]
4319
4404
  },
4405
+ {
4406
+ "name": "set_instant_withdrawal_liquidity_source",
4407
+ "docs": [
4408
+ "Sets the deployment target from which liquidity will be pulled when the pool's available",
4409
+ "balance is insufficient to satisfy an instant withdrawal.",
4410
+ "",
4411
+ "# Trigger Condition",
4412
+ "When the protocol is on.",
4413
+ "",
4414
+ "# Access Control",
4415
+ "Only strategy manager wallets can call this instruction."
4416
+ ],
4417
+ "discriminator": [104, 139, 161, 239, 40, 211, 26, 252],
4418
+ "accounts": [
4419
+ {
4420
+ "name": "wallet",
4421
+ "signer": true,
4422
+ "relations": ["strategy_manager_wallet"]
4423
+ },
4424
+ {
4425
+ "name": "huma_config",
4426
+ "relations": ["pool_config"]
4427
+ },
4428
+ {
4429
+ "name": "pool_config",
4430
+ "writable": true,
4431
+ "pda": {
4432
+ "seeds": [
4433
+ {
4434
+ "kind": "const",
4435
+ "value": [112, 111, 111, 108, 95, 99, 111, 110, 102, 105, 103]
4436
+ },
4437
+ {
4438
+ "kind": "account",
4439
+ "path": "pool_config.pool_id",
4440
+ "account": "PoolConfig"
4441
+ }
4442
+ ]
4443
+ }
4444
+ },
4445
+ {
4446
+ "name": "pool_state",
4447
+ "pda": {
4448
+ "seeds": [
4449
+ {
4450
+ "kind": "const",
4451
+ "value": [112, 111, 111, 108, 95, 115, 116, 97, 116, 101]
4452
+ },
4453
+ {
4454
+ "kind": "account",
4455
+ "path": "pool_config"
4456
+ }
4457
+ ]
4458
+ }
4459
+ },
4460
+ {
4461
+ "name": "strategy_manager_wallet",
4462
+ "pda": {
4463
+ "seeds": [
4464
+ {
4465
+ "kind": "const",
4466
+ "value": [
4467
+ 115, 116, 114, 97, 116, 101, 103, 121, 95, 109, 97, 110, 97,
4468
+ 103, 101, 114, 95, 119, 97, 108, 108, 101, 116
4469
+ ]
4470
+ },
4471
+ {
4472
+ "kind": "account",
4473
+ "path": "pool_config"
4474
+ },
4475
+ {
4476
+ "kind": "account",
4477
+ "path": "strategy_manager_wallet.wallet",
4478
+ "account": "StrategyManagerWallet"
4479
+ }
4480
+ ]
4481
+ }
4482
+ },
4483
+ {
4484
+ "name": "deployment_config"
4485
+ }
4486
+ ],
4487
+ "args": []
4488
+ },
4320
4489
  {
4321
4490
  "name": "set_instant_withdrawal_reserve_limit",
4322
4491
  "docs": [
@@ -5383,6 +5552,14 @@
5383
5552
  "name": "InstantWithdrawalLenderRemovedEvent",
5384
5553
  "discriminator": [228, 255, 164, 26, 160, 125, 77, 227]
5385
5554
  },
5555
+ {
5556
+ "name": "InstantWithdrawalLiquiditySourceClearedEvent",
5557
+ "discriminator": [244, 93, 188, 227, 190, 128, 85, 101]
5558
+ },
5559
+ {
5560
+ "name": "InstantWithdrawalLiquiditySourceSetEvent",
5561
+ "discriminator": [188, 167, 59, 236, 129, 19, 186, 11]
5562
+ },
5386
5563
  {
5387
5564
  "name": "InstantWithdrawalReserveLimitChangedEvent",
5388
5565
  "discriminator": [163, 77, 62, 14, 42, 11, 32, 215]
@@ -5569,6 +5746,10 @@
5569
5746
  "code": 6006,
5570
5747
  "name": "InvalidBasisPointHigherThan10000"
5571
5748
  },
5749
+ {
5750
+ "code": 6007,
5751
+ "name": "RequiredAccountsNotProvided"
5752
+ },
5572
5753
  {
5573
5754
  "code": 6101,
5574
5755
  "name": "PoolOwnerRequired"
@@ -5745,6 +5926,10 @@
5745
5926
  "code": 6333,
5746
5927
  "name": "RedemptionRequestModeMismatch"
5747
5928
  },
5929
+ {
5930
+ "code": 6334,
5931
+ "name": "InstantWithdrawalLiquiditySourceMismatch"
5932
+ },
5748
5933
  {
5749
5934
  "code": 6401,
5750
5935
  "name": "InvalidModeConfig"
@@ -5800,6 +5985,18 @@
5800
5985
  {
5801
5986
  "code": 6504,
5802
5987
  "name": "NoLossToRecover"
5988
+ },
5989
+ {
5990
+ "code": 6505,
5991
+ "name": "TokenAccountOwnerMismatch"
5992
+ },
5993
+ {
5994
+ "code": 6506,
5995
+ "name": "ManualStrategyNotAllowedAsLiquiditySource"
5996
+ },
5997
+ {
5998
+ "code": 6507,
5999
+ "name": "DeploymentTargetIsActiveLiquiditySource"
5803
6000
  }
5804
6001
  ],
5805
6002
  "types": [
@@ -5869,6 +6066,9 @@
5869
6066
  },
5870
6067
  {
5871
6068
  "name": "JupLend"
6069
+ },
6070
+ {
6071
+ "name": "KaminoLend"
5872
6072
  }
5873
6073
  ]
5874
6074
  }
@@ -5935,7 +6135,10 @@
5935
6135
  "",
5936
6136
  "# Fields",
5937
6137
  "* `instant_withdrawal_reserve_limit` - The maximum amount of assets that can be withdrawn instantly.",
5938
- "* `instant_withdrawal_fee_configs` - The fee configurations for instant withdrawal."
6138
+ "* `instant_withdrawal_fee_configs` - The fee configurations for instant withdrawal.",
6139
+ "* `liquidity_source` - The `DeploymentConfig` account key identifying the deployment target",
6140
+ "from which liquidity will be pulled if the pool's available balance is insufficient to",
6141
+ "satisfy an instant withdrawal."
5939
6142
  ],
5940
6143
  "type": {
5941
6144
  "kind": "struct",
@@ -5954,10 +6157,16 @@
5954
6157
  }
5955
6158
  }
5956
6159
  },
6160
+ {
6161
+ "name": "liquidity_source",
6162
+ "type": {
6163
+ "option": "pubkey"
6164
+ }
6165
+ },
5957
6166
  {
5958
6167
  "name": "reserved",
5959
6168
  "type": {
5960
- "array": ["u8", 160]
6169
+ "array": ["u8", 127]
5961
6170
  }
5962
6171
  }
5963
6172
  ]
@@ -6098,6 +6307,69 @@
6098
6307
  ]
6099
6308
  }
6100
6309
  },
6310
+ {
6311
+ "name": "InstantWithdrawalLiquiditySourceClearedEvent",
6312
+ "docs": [
6313
+ "The strategy manager has cleared the liquidity source for instant withdrawals.",
6314
+ "",
6315
+ "# Fields",
6316
+ "* `pool_id` - The pool ID.",
6317
+ "* `wallet` - The strategy manager wallet address.",
6318
+ "* `old_liquidity_source` - The previous `DeploymentConfig` key."
6319
+ ],
6320
+ "type": {
6321
+ "kind": "struct",
6322
+ "fields": [
6323
+ {
6324
+ "name": "pool_id",
6325
+ "type": "pubkey"
6326
+ },
6327
+ {
6328
+ "name": "wallet",
6329
+ "type": "pubkey"
6330
+ },
6331
+ {
6332
+ "name": "old_liquidity_source",
6333
+ "type": "pubkey"
6334
+ }
6335
+ ]
6336
+ }
6337
+ },
6338
+ {
6339
+ "name": "InstantWithdrawalLiquiditySourceSetEvent",
6340
+ "docs": [
6341
+ "The strategy manager has set the liquidity source for instant withdrawals.",
6342
+ "",
6343
+ "# Fields",
6344
+ "* `pool_id` - The pool ID.",
6345
+ "* `wallet` - The strategy manager wallet address.",
6346
+ "* `old_liquidity_source` - The previous `DeploymentConfig` key.",
6347
+ "* `new_liquidity_source` - The new `DeploymentConfig` key."
6348
+ ],
6349
+ "type": {
6350
+ "kind": "struct",
6351
+ "fields": [
6352
+ {
6353
+ "name": "pool_id",
6354
+ "type": "pubkey"
6355
+ },
6356
+ {
6357
+ "name": "wallet",
6358
+ "type": "pubkey"
6359
+ },
6360
+ {
6361
+ "name": "old_liquidity_source",
6362
+ "type": {
6363
+ "option": "pubkey"
6364
+ }
6365
+ },
6366
+ {
6367
+ "name": "new_liquidity_source",
6368
+ "type": "pubkey"
6369
+ }
6370
+ ]
6371
+ }
6372
+ },
6101
6373
  {
6102
6374
  "name": "InstantWithdrawalReserveLimitChangedEvent",
6103
6375
  "docs": [
@@ -1 +1 @@
1
- {"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../../src/utils/program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAkB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,cAAc,GACzB,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,cAAc,CASxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,kBAAkB,CAO5B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,eAAe,KAAG,SAQxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,SAAS,CAInB,CAAC"}
1
+ {"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../../src/utils/program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIvD,OAAO,EAAkB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,cAAc,GACzB,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,cAAc,CAWxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,kBAAkB,CAO5B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,eAAe,KAAG,SAQxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,UAAU,EACtB,OAAO,eAAe,KACrB,OAAO,CAAC,SAAS,CAInB,CAAC"}
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getHumaVaultProgram = exports.getHumaVaultIdl = exports.getVoterStakeRegistryProgram = exports.getHumaProgram = void 0;
7
7
  const permissionless_json_1 = __importDefault(require("../idl/permissionless.json"));
8
+ const permissionless_staging_json_1 = __importDefault(require("../idl/permissionless-staging.json"));
8
9
  const permissionless_devnet_json_1 = __importDefault(require("../idl/permissionless-devnet.json"));
9
10
  const anchor_1 = require("@coral-xyz/anchor");
10
11
  const chain_1 = require("../types/chain");
@@ -17,7 +18,9 @@ const getHumaProgram = (connection, chain) => {
17
18
  const provider = new anchor_1.AnchorProvider(connection, {}, {});
18
19
  return new anchor_1.Program(chain === chain_1.SolanaChainEnum.DEVNET
19
20
  ? permissionless_devnet_json_1.default
20
- : permissionless_json_1.default, provider);
21
+ : chain === chain_1.SolanaChainEnum.STAGING
22
+ ? permissionless_staging_json_1.default
23
+ : permissionless_json_1.default, provider);
21
24
  };
22
25
  exports.getHumaProgram = getHumaProgram;
23
26
  const getVoterStakeRegistryProgram = (connection, chain) => {
@@ -1 +1 @@
1
- {"version":3,"file":"program.js","sourceRoot":"","sources":["../../src/utils/program.ts"],"names":[],"mappings":";;;;;;AAEA,qFAA2D;AAC3D,mGAAwE;AACxE,8CAA4D;AAC5D,0CAAiD;AAEjD,6FAAmE;AAEnE,2FAA+D;AAC/D,6FAAiE;AACjE,6EAAkD;AAE3C,MAAM,cAAc,GAAG,CAC5B,UAAsB,EACtB,KAAsB,EACG,EAAE;IAC3B,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAChB,KAAK,KAAK,uBAAe,CAAC,MAAM;QAC9B,CAAC,CAAE,oCAA0C;QAC7C,CAAC,CAAE,6BAAoC,EACzC,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,cAAc,kBAYzB;AAEK,MAAM,4BAA4B,GAAG,CAC1C,UAAsB,EACtB,KAAsB,EACO,EAAE;IAC/B,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAChB,iCAA2C,EAC3C,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,4BAA4B,gCAUvC;AAEK,MAAM,eAAe,GAAG,CAAC,KAAsB,EAAa,EAAE;IACnE,IAAI,KAAK,KAAK,uBAAe,CAAC,MAAM,EAAE,CAAC;QACrC,OAAO,gCAA+B,CAAC;IACzC,CAAC;IACD,IAAI,KAAK,KAAK,uBAAe,CAAC,OAAO,EAAE,CAAC;QACtC,OAAO,iCAAgC,CAAC;IAC1C,CAAC;IACD,OAAO,yBAAyB,CAAC;AACnC,CAAC,CAAC;AARW,QAAA,eAAe,mBAQ1B;AAEK,MAAM,mBAAmB,GAAG,CACjC,UAAsB,EACtB,KAAsB,EACF,EAAE;IACtB,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAAY,IAAA,uBAAe,EAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC,CAAC;AAPW,QAAA,mBAAmB,uBAO9B"}
1
+ {"version":3,"file":"program.js","sourceRoot":"","sources":["../../src/utils/program.ts"],"names":[],"mappings":";;;;;;AAEA,qFAA2D;AAC3D,qGAA0E;AAC1E,mGAAwE;AACxE,8CAA4D;AAC5D,0CAAiD;AAEjD,6FAAmE;AAEnE,2FAA+D;AAC/D,6FAAiE;AACjE,6EAAkD;AAE3C,MAAM,cAAc,GAAG,CAC5B,UAAsB,EACtB,KAAsB,EACG,EAAE;IAC3B,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAChB,KAAK,KAAK,uBAAe,CAAC,MAAM;QAC9B,CAAC,CAAE,oCAA0C;QAC7C,CAAC,CAAC,KAAK,KAAK,uBAAe,CAAC,OAAO;YACjC,CAAC,CAAE,qCAA2C;YAC9C,CAAC,CAAE,6BAAoC,EAC3C,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,cAAc,kBAczB;AAEK,MAAM,4BAA4B,GAAG,CAC1C,UAAsB,EACtB,KAAsB,EACO,EAAE;IAC/B,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAChB,iCAA2C,EAC3C,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,4BAA4B,gCAUvC;AAEK,MAAM,eAAe,GAAG,CAAC,KAAsB,EAAa,EAAE;IACnE,IAAI,KAAK,KAAK,uBAAe,CAAC,MAAM,EAAE,CAAC;QACrC,OAAO,gCAA+B,CAAC;IACzC,CAAC;IACD,IAAI,KAAK,KAAK,uBAAe,CAAC,OAAO,EAAE,CAAC;QACtC,OAAO,iCAAgC,CAAC;IAC1C,CAAC;IACD,OAAO,yBAAyB,CAAC;AACnC,CAAC,CAAC;AARW,QAAA,eAAe,mBAQ1B;AAEK,MAAM,mBAAmB,GAAG,CACjC,UAAsB,EACtB,KAAsB,EACF,EAAE;IACtB,aAAa;IACb,MAAM,QAAQ,GAAG,IAAI,uBAAc,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,OAAO,IAAI,gBAAO,CAAY,IAAA,uBAAe,EAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC,CAAC;AAPW,QAAA,mBAAmB,uBAO9B"}
@@ -15,7 +15,7 @@ async function main() {
15
15
  const connection = new Connection(process.env.RPC_URL!);
16
16
  const client = new PermissionlessClient(
17
17
  process.env.RPC_URL!,
18
- SolanaChainEnum.MAINNET,
18
+ SolanaChainEnum.DEVNET,
19
19
  );
20
20
 
21
21
  const key = Keypair.fromSecretKey(
@@ -7,7 +7,7 @@ dotenv.config();
7
7
  async function main() {
8
8
  const client = new PermissionlessClient(
9
9
  process.env.RPC_URL!,
10
- SolanaChainEnum.MAINNET
10
+ SolanaChainEnum.MAINNET,
11
11
  );
12
12
 
13
13
  const apy = await client.getModeTargetApy(DepositMode.CLASSIC);
@@ -20,7 +20,7 @@ function formatPrice(price: BN, decimals: BN): string {
20
20
  async function main() {
21
21
  const client = new PermissionlessClient(
22
22
  process.env.RPC_URL!,
23
- SolanaChainEnum.MAINNET
23
+ SolanaChainEnum.DEVNET,
24
24
  );
25
25
 
26
26
  const price = await client.getModeTokenPrice(DepositMode.CLASSIC);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huma-finance/permissionless-sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Huma Finance Permissionless SDK for Solana",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,8 @@
32
32
  "@types/node": "24.3.0",
33
33
  "dotenv": "17.2.2",
34
34
  "jest": "29.7.0",
35
- "ts-jest": "29.1.2"
35
+ "ts-jest": "29.1.2",
36
+ "typescript": "5.9.2"
36
37
  },
37
38
  "scripts": {
38
39
  "build": "tsc",