@gvnrdao/dh-sdk 0.0.273 → 0.0.275

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.
@@ -5,7 +5,7 @@
5
5
  * @license MIT
6
6
  */
7
7
 
8
- /*! Axios v1.16.1 Copyright (c) 2026 Matt Zabriskie and contributors */
8
+ /*! Axios v1.17.0 Copyright (c) 2026 Matt Zabriskie and contributors */
9
9
 
10
10
  /*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
11
11
 
@@ -31,6 +31,8 @@ export interface DeploymentContracts {
31
31
  FeeRecipientRegistry?: string;
32
32
  /** PositionDelegateRegistry — stores per-position off-chain auth delegates (Safe-as-borrower flows). */
33
33
  PositionDelegateRegistry?: string;
34
+ /** BitcoinWithdrawalAddressRegistry — per-wallet allowlist of approved BTC withdrawal destinations (24h time-lock). */
35
+ BitcoinWithdrawalAddressRegistry?: string;
34
36
  PriceFeedConsumer?: string;
35
37
  OperationAuthorizationRegistry?: string;
36
38
  PKPValidation?: string;
@@ -32,6 +32,8 @@ export interface NetworkConfig {
32
32
  feeRecipientRegistry?: string;
33
33
  /** PositionDelegateRegistry proxy; consumed by LIT Action authorization verifier as the third recovery arm for Safe-as-borrower flows. */
34
34
  positionDelegateRegistry?: string;
35
+ /** BitcoinWithdrawalAddressRegistry proxy; per-wallet allowlist gating borrower-initiated BTC withdrawal destinations (24h time-lock). */
36
+ bitcoinWithdrawalAddressRegistry?: string;
35
37
  mockUsdcToken?: string;
36
38
  mockUsdtToken?: string;
37
39
  mockUsdcOwner?: string;
@@ -61,7 +61,8 @@ var SEPOLIA_DEPLOYMENT = {
61
61
  mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
62
62
  mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
63
63
  PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
64
- FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
64
+ FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
65
+ BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe"
65
66
  },
66
67
  upgraded: {
67
68
  PositionManager: {
@@ -135,9 +136,9 @@ var SEPOLIA_DEPLOYMENT = {
135
136
  reason: "Shared upgrade script: PositionManagerCoreModule implementation update"
136
137
  },
137
138
  CollateralManagerModule: {
138
- previousImplementation: "0x428982fCC9A0455c56881B8e21C96B220CC1506B",
139
- newImplementation: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
140
- upgradedAt: "2026-05-17T19:17:01.129Z",
139
+ previousImplementation: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
140
+ newImplementation: "0xd47FE9126daE9A1e0fFdaCf539BE7345D3642bcb",
141
+ upgradedAt: "2026-06-05T09:14:12.892Z",
141
142
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
142
143
  reason: "Shared upgrade script: CollateralManagerModule implementation update"
143
144
  },
@@ -313,7 +314,9 @@ var SEPOLIA_DEPLOYMENT = {
313
314
  AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
314
315
  FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
315
316
  FEE_RECIPIENT_REGISTRY_IMPL: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
316
- OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D"
317
+ OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D",
318
+ BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
319
+ BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA"
317
320
  }
318
321
  };
319
322
  var SEPOLIA_CONTRACTS = {
@@ -340,7 +343,8 @@ var SEPOLIA_CONTRACTS = {
340
343
  mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
341
344
  mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
342
345
  PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
343
- FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
346
+ FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
347
+ BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe"
344
348
  };
345
349
  var LOCALHOST_DEPLOYMENT = {
346
350
  network: "localhost",
@@ -28,7 +28,8 @@ var SEPOLIA_DEPLOYMENT = {
28
28
  mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
29
29
  mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
30
30
  PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
31
- FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
31
+ FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
32
+ BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe"
32
33
  },
33
34
  upgraded: {
34
35
  PositionManager: {
@@ -102,9 +103,9 @@ var SEPOLIA_DEPLOYMENT = {
102
103
  reason: "Shared upgrade script: PositionManagerCoreModule implementation update"
103
104
  },
104
105
  CollateralManagerModule: {
105
- previousImplementation: "0x428982fCC9A0455c56881B8e21C96B220CC1506B",
106
- newImplementation: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
107
- upgradedAt: "2026-05-17T19:17:01.129Z",
106
+ previousImplementation: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
107
+ newImplementation: "0xd47FE9126daE9A1e0fFdaCf539BE7345D3642bcb",
108
+ upgradedAt: "2026-06-05T09:14:12.892Z",
108
109
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
109
110
  reason: "Shared upgrade script: CollateralManagerModule implementation update"
110
111
  },
@@ -280,7 +281,9 @@ var SEPOLIA_DEPLOYMENT = {
280
281
  AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
281
282
  FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
282
283
  FEE_RECIPIENT_REGISTRY_IMPL: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
283
- OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D"
284
+ OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D",
285
+ BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
286
+ BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA"
284
287
  }
285
288
  };
286
289
  var SEPOLIA_CONTRACTS = {
@@ -307,7 +310,8 @@ var SEPOLIA_CONTRACTS = {
307
310
  mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
308
311
  mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
309
312
  PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
310
- FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
313
+ FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
314
+ BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe"
311
315
  };
312
316
  var LOCALHOST_DEPLOYMENT = {
313
317
  network: "localhost",
package/dist/index.d.ts CHANGED
@@ -28,6 +28,8 @@ export { LoanCreator, createLoanCreator, } from './modules/loan/loan-creator.mod
28
28
  export type { LoanCreatorConfig, LoanCreationAudit, } from './modules/loan/loan-creator.module';
29
29
  export { LoanQuery, createLoanQuery, } from './modules/loan/loan-query.module';
30
30
  export type { LoanQueryConfig, LoanQueryFilters, PaginationParams, } from './modules/loan/loan-query.module';
31
+ export { WithdrawalAddressModule, createWithdrawalAddressModule, } from './modules/withdrawal-address/withdrawal-address.module';
32
+ export type { WithdrawalAddressModuleConfig, WithdrawalAddressEntry, } from './modules/withdrawal-address/withdrawal-address.module';
31
33
  export { BitcoinOperations, createBitcoinOperations, } from './modules/bitcoin/bitcoin-operations.module';
32
34
  export type { BitcoinOperationsConfig, BitcoinNetwork, EnrichedBitcoinBalance, } from './modules/bitcoin/bitcoin-operations.module';
33
35
  export { MockTokenManager, createMockTokenManager, } from './modules/mock/mock-token-manager.module';