@t2000/sdk 1.24.2 → 1.24.3
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.
- package/dist/adapters/descriptors.cjs +22 -1
- package/dist/adapters/descriptors.cjs.map +1 -1
- package/dist/adapters/descriptors.js +22 -1
- package/dist/adapters/descriptors.js.map +1 -1
- package/dist/adapters/index.cjs +22 -1
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.js +22 -1
- package/dist/adapters/index.js.map +1 -1
- package/dist/browser.cjs +3 -3
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +3 -3
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +25 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +25 -4
- package/dist/index.js.map +1 -1
- package/dist/{types-DCb8Xt_q.d.ts → types-D1-rO-J4.d.ts} +10 -3
- package/dist/{types-D03bON1v.d.cts → types-DvNhsBbN.d.cts} +10 -3
- package/package.json +1 -1
|
@@ -7,14 +7,35 @@ var naviDescriptor = {
|
|
|
7
7
|
packages: [],
|
|
8
8
|
dynamicPackageId: true,
|
|
9
9
|
actionMap: {
|
|
10
|
+
// Deposit variants (entry_deposit / deposit + account-cap form for
|
|
11
|
+
// harvest's internal save leg)
|
|
10
12
|
"incentive_v3::entry_deposit": "save",
|
|
11
13
|
"incentive_v3::deposit": "save",
|
|
14
|
+
"incentive_v3::deposit_with_account_cap": "save",
|
|
15
|
+
// Withdraw variants
|
|
12
16
|
"incentive_v3::withdraw_v2": "withdraw",
|
|
13
17
|
"incentive_v3::entry_withdraw": "withdraw",
|
|
18
|
+
"incentive_v3::withdraw_with_account_cap": "withdraw",
|
|
19
|
+
"incentive_v3::withdraw_with_account_cap_v": "withdraw",
|
|
20
|
+
"incentive_v3::withdraw": "withdraw",
|
|
21
|
+
"incentive_v3::withdraw_v": "withdraw",
|
|
22
|
+
// Borrow variants
|
|
14
23
|
"incentive_v3::borrow_v2": "borrow",
|
|
15
24
|
"incentive_v3::entry_borrow": "borrow",
|
|
25
|
+
"incentive_v3::borrow": "borrow",
|
|
26
|
+
"incentive_v3::borrow_v": "borrow",
|
|
27
|
+
"incentive_v3::borrow_with_account_cap": "borrow",
|
|
28
|
+
"incentive_v3::borrow_with_account_cap_v": "borrow",
|
|
29
|
+
// Repay variants
|
|
16
30
|
"incentive_v3::entry_repay": "repay",
|
|
17
|
-
"incentive_v3::repay": "repay"
|
|
31
|
+
"incentive_v3::repay": "repay",
|
|
32
|
+
"incentive_v3::repay_with_account_cap": "repay",
|
|
33
|
+
// Claim-reward variants — required for `claim_rewards` tagging AND for
|
|
34
|
+
// `harvest` compound-op detection in the indexer (paired with a save
|
|
35
|
+
// target, classified as `harvest` instead of `claim`).
|
|
36
|
+
"incentive_v3::claim_reward": "claim",
|
|
37
|
+
"incentive_v3::claim_reward_entry": "claim",
|
|
38
|
+
"incentive_v3::claim_reward_with_account_cap": "claim"
|
|
18
39
|
}
|
|
19
40
|
};
|
|
20
41
|
var allDescriptors = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/adapters/descriptors.ts"],"names":[],"mappings":";;;AAIO,IAAM,cAAA,GAAqC;AAAA,EAChD,EAAA,EAAI,MAAA;AAAA,EACJ,IAAA,EAAM,eAAA;AAAA,EACN,UAAU,EAAC;AAAA,EACX,gBAAA,EAAkB,IAAA;AAAA,EAClB,SAAA,EAAW;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../src/adapters/descriptors.ts"],"names":[],"mappings":";;;AAIO,IAAM,cAAA,GAAqC;AAAA,EAChD,EAAA,EAAI,MAAA;AAAA,EACJ,IAAA,EAAM,eAAA;AAAA,EACN,UAAU,EAAC;AAAA,EACX,gBAAA,EAAkB,IAAA;AAAA,EAClB,SAAA,EAAW;AAAA;AAAA;AAAA,IAGT,6BAAA,EAA+B,MAAA;AAAA,IAC/B,uBAAA,EAAyB,MAAA;AAAA,IACzB,wCAAA,EAA0C,MAAA;AAAA;AAAA,IAE1C,2BAAA,EAA6B,UAAA;AAAA,IAC7B,8BAAA,EAAgC,UAAA;AAAA,IAChC,yCAAA,EAA2C,UAAA;AAAA,IAC3C,2CAAA,EAA6C,UAAA;AAAA,IAC7C,wBAAA,EAA0B,UAAA;AAAA,IAC1B,0BAAA,EAA4B,UAAA;AAAA;AAAA,IAE5B,yBAAA,EAA2B,QAAA;AAAA,IAC3B,4BAAA,EAA8B,QAAA;AAAA,IAC9B,sBAAA,EAAwB,QAAA;AAAA,IACxB,wBAAA,EAA0B,QAAA;AAAA,IAC1B,uCAAA,EAAyC,QAAA;AAAA,IACzC,yCAAA,EAA2C,QAAA;AAAA;AAAA,IAE3C,2BAAA,EAA6B,OAAA;AAAA,IAC7B,qBAAA,EAAuB,OAAA;AAAA,IACvB,sCAAA,EAAwC,OAAA;AAAA;AAAA;AAAA;AAAA,IAIxC,4BAAA,EAA8B,OAAA;AAAA,IAC9B,kCAAA,EAAoC,OAAA;AAAA,IACpC,6CAAA,EAA+C;AAAA;AAEnD;AAEO,IAAM,cAAA,GAAuC;AAAA,EAClD;AACF","file":"descriptors.cjs","sourcesContent":["import type { ProtocolDescriptor } from './types.js';\n\nexport type { ProtocolDescriptor } from './types.js';\n\nexport const naviDescriptor: ProtocolDescriptor = {\n id: 'navi',\n name: 'NAVI Protocol',\n packages: [],\n dynamicPackageId: true,\n actionMap: {\n // Deposit variants (entry_deposit / deposit + account-cap form for\n // harvest's internal save leg)\n 'incentive_v3::entry_deposit': 'save',\n 'incentive_v3::deposit': 'save',\n 'incentive_v3::deposit_with_account_cap': 'save',\n // Withdraw variants\n 'incentive_v3::withdraw_v2': 'withdraw',\n 'incentive_v3::entry_withdraw': 'withdraw',\n 'incentive_v3::withdraw_with_account_cap': 'withdraw',\n 'incentive_v3::withdraw_with_account_cap_v': 'withdraw',\n 'incentive_v3::withdraw': 'withdraw',\n 'incentive_v3::withdraw_v': 'withdraw',\n // Borrow variants\n 'incentive_v3::borrow_v2': 'borrow',\n 'incentive_v3::entry_borrow': 'borrow',\n 'incentive_v3::borrow': 'borrow',\n 'incentive_v3::borrow_v': 'borrow',\n 'incentive_v3::borrow_with_account_cap': 'borrow',\n 'incentive_v3::borrow_with_account_cap_v': 'borrow',\n // Repay variants\n 'incentive_v3::entry_repay': 'repay',\n 'incentive_v3::repay': 'repay',\n 'incentive_v3::repay_with_account_cap': 'repay',\n // Claim-reward variants — required for `claim_rewards` tagging AND for\n // `harvest` compound-op detection in the indexer (paired with a save\n // target, classified as `harvest` instead of `claim`).\n 'incentive_v3::claim_reward': 'claim',\n 'incentive_v3::claim_reward_entry': 'claim',\n 'incentive_v3::claim_reward_with_account_cap': 'claim',\n },\n};\n\nexport const allDescriptors: ProtocolDescriptor[] = [\n naviDescriptor,\n];\n"]}
|
|
@@ -5,14 +5,35 @@ var naviDescriptor = {
|
|
|
5
5
|
packages: [],
|
|
6
6
|
dynamicPackageId: true,
|
|
7
7
|
actionMap: {
|
|
8
|
+
// Deposit variants (entry_deposit / deposit + account-cap form for
|
|
9
|
+
// harvest's internal save leg)
|
|
8
10
|
"incentive_v3::entry_deposit": "save",
|
|
9
11
|
"incentive_v3::deposit": "save",
|
|
12
|
+
"incentive_v3::deposit_with_account_cap": "save",
|
|
13
|
+
// Withdraw variants
|
|
10
14
|
"incentive_v3::withdraw_v2": "withdraw",
|
|
11
15
|
"incentive_v3::entry_withdraw": "withdraw",
|
|
16
|
+
"incentive_v3::withdraw_with_account_cap": "withdraw",
|
|
17
|
+
"incentive_v3::withdraw_with_account_cap_v": "withdraw",
|
|
18
|
+
"incentive_v3::withdraw": "withdraw",
|
|
19
|
+
"incentive_v3::withdraw_v": "withdraw",
|
|
20
|
+
// Borrow variants
|
|
12
21
|
"incentive_v3::borrow_v2": "borrow",
|
|
13
22
|
"incentive_v3::entry_borrow": "borrow",
|
|
23
|
+
"incentive_v3::borrow": "borrow",
|
|
24
|
+
"incentive_v3::borrow_v": "borrow",
|
|
25
|
+
"incentive_v3::borrow_with_account_cap": "borrow",
|
|
26
|
+
"incentive_v3::borrow_with_account_cap_v": "borrow",
|
|
27
|
+
// Repay variants
|
|
14
28
|
"incentive_v3::entry_repay": "repay",
|
|
15
|
-
"incentive_v3::repay": "repay"
|
|
29
|
+
"incentive_v3::repay": "repay",
|
|
30
|
+
"incentive_v3::repay_with_account_cap": "repay",
|
|
31
|
+
// Claim-reward variants — required for `claim_rewards` tagging AND for
|
|
32
|
+
// `harvest` compound-op detection in the indexer (paired with a save
|
|
33
|
+
// target, classified as `harvest` instead of `claim`).
|
|
34
|
+
"incentive_v3::claim_reward": "claim",
|
|
35
|
+
"incentive_v3::claim_reward_entry": "claim",
|
|
36
|
+
"incentive_v3::claim_reward_with_account_cap": "claim"
|
|
16
37
|
}
|
|
17
38
|
};
|
|
18
39
|
var allDescriptors = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/adapters/descriptors.ts"],"names":[],"mappings":";AAIO,IAAM,cAAA,GAAqC;AAAA,EAChD,EAAA,EAAI,MAAA;AAAA,EACJ,IAAA,EAAM,eAAA;AAAA,EACN,UAAU,EAAC;AAAA,EACX,gBAAA,EAAkB,IAAA;AAAA,EAClB,SAAA,EAAW;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../src/adapters/descriptors.ts"],"names":[],"mappings":";AAIO,IAAM,cAAA,GAAqC;AAAA,EAChD,EAAA,EAAI,MAAA;AAAA,EACJ,IAAA,EAAM,eAAA;AAAA,EACN,UAAU,EAAC;AAAA,EACX,gBAAA,EAAkB,IAAA;AAAA,EAClB,SAAA,EAAW;AAAA;AAAA;AAAA,IAGT,6BAAA,EAA+B,MAAA;AAAA,IAC/B,uBAAA,EAAyB,MAAA;AAAA,IACzB,wCAAA,EAA0C,MAAA;AAAA;AAAA,IAE1C,2BAAA,EAA6B,UAAA;AAAA,IAC7B,8BAAA,EAAgC,UAAA;AAAA,IAChC,yCAAA,EAA2C,UAAA;AAAA,IAC3C,2CAAA,EAA6C,UAAA;AAAA,IAC7C,wBAAA,EAA0B,UAAA;AAAA,IAC1B,0BAAA,EAA4B,UAAA;AAAA;AAAA,IAE5B,yBAAA,EAA2B,QAAA;AAAA,IAC3B,4BAAA,EAA8B,QAAA;AAAA,IAC9B,sBAAA,EAAwB,QAAA;AAAA,IACxB,wBAAA,EAA0B,QAAA;AAAA,IAC1B,uCAAA,EAAyC,QAAA;AAAA,IACzC,yCAAA,EAA2C,QAAA;AAAA;AAAA,IAE3C,2BAAA,EAA6B,OAAA;AAAA,IAC7B,qBAAA,EAAuB,OAAA;AAAA,IACvB,sCAAA,EAAwC,OAAA;AAAA;AAAA;AAAA;AAAA,IAIxC,4BAAA,EAA8B,OAAA;AAAA,IAC9B,kCAAA,EAAoC,OAAA;AAAA,IACpC,6CAAA,EAA+C;AAAA;AAEnD;AAEO,IAAM,cAAA,GAAuC;AAAA,EAClD;AACF","file":"descriptors.js","sourcesContent":["import type { ProtocolDescriptor } from './types.js';\n\nexport type { ProtocolDescriptor } from './types.js';\n\nexport const naviDescriptor: ProtocolDescriptor = {\n id: 'navi',\n name: 'NAVI Protocol',\n packages: [],\n dynamicPackageId: true,\n actionMap: {\n // Deposit variants (entry_deposit / deposit + account-cap form for\n // harvest's internal save leg)\n 'incentive_v3::entry_deposit': 'save',\n 'incentive_v3::deposit': 'save',\n 'incentive_v3::deposit_with_account_cap': 'save',\n // Withdraw variants\n 'incentive_v3::withdraw_v2': 'withdraw',\n 'incentive_v3::entry_withdraw': 'withdraw',\n 'incentive_v3::withdraw_with_account_cap': 'withdraw',\n 'incentive_v3::withdraw_with_account_cap_v': 'withdraw',\n 'incentive_v3::withdraw': 'withdraw',\n 'incentive_v3::withdraw_v': 'withdraw',\n // Borrow variants\n 'incentive_v3::borrow_v2': 'borrow',\n 'incentive_v3::entry_borrow': 'borrow',\n 'incentive_v3::borrow': 'borrow',\n 'incentive_v3::borrow_v': 'borrow',\n 'incentive_v3::borrow_with_account_cap': 'borrow',\n 'incentive_v3::borrow_with_account_cap_v': 'borrow',\n // Repay variants\n 'incentive_v3::entry_repay': 'repay',\n 'incentive_v3::repay': 'repay',\n 'incentive_v3::repay_with_account_cap': 'repay',\n // Claim-reward variants — required for `claim_rewards` tagging AND for\n // `harvest` compound-op detection in the indexer (paired with a save\n // target, classified as `harvest` instead of `claim`).\n 'incentive_v3::claim_reward': 'claim',\n 'incentive_v3::claim_reward_entry': 'claim',\n 'incentive_v3::claim_reward_with_account_cap': 'claim',\n },\n};\n\nexport const allDescriptors: ProtocolDescriptor[] = [\n naviDescriptor,\n];\n"]}
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -4687,14 +4687,35 @@ var naviDescriptor = {
|
|
|
4687
4687
|
packages: [],
|
|
4688
4688
|
dynamicPackageId: true,
|
|
4689
4689
|
actionMap: {
|
|
4690
|
+
// Deposit variants (entry_deposit / deposit + account-cap form for
|
|
4691
|
+
// harvest's internal save leg)
|
|
4690
4692
|
"incentive_v3::entry_deposit": "save",
|
|
4691
4693
|
"incentive_v3::deposit": "save",
|
|
4694
|
+
"incentive_v3::deposit_with_account_cap": "save",
|
|
4695
|
+
// Withdraw variants
|
|
4692
4696
|
"incentive_v3::withdraw_v2": "withdraw",
|
|
4693
4697
|
"incentive_v3::entry_withdraw": "withdraw",
|
|
4698
|
+
"incentive_v3::withdraw_with_account_cap": "withdraw",
|
|
4699
|
+
"incentive_v3::withdraw_with_account_cap_v": "withdraw",
|
|
4700
|
+
"incentive_v3::withdraw": "withdraw",
|
|
4701
|
+
"incentive_v3::withdraw_v": "withdraw",
|
|
4702
|
+
// Borrow variants
|
|
4694
4703
|
"incentive_v3::borrow_v2": "borrow",
|
|
4695
4704
|
"incentive_v3::entry_borrow": "borrow",
|
|
4705
|
+
"incentive_v3::borrow": "borrow",
|
|
4706
|
+
"incentive_v3::borrow_v": "borrow",
|
|
4707
|
+
"incentive_v3::borrow_with_account_cap": "borrow",
|
|
4708
|
+
"incentive_v3::borrow_with_account_cap_v": "borrow",
|
|
4709
|
+
// Repay variants
|
|
4696
4710
|
"incentive_v3::entry_repay": "repay",
|
|
4697
|
-
"incentive_v3::repay": "repay"
|
|
4711
|
+
"incentive_v3::repay": "repay",
|
|
4712
|
+
"incentive_v3::repay_with_account_cap": "repay",
|
|
4713
|
+
// Claim-reward variants — required for `claim_rewards` tagging AND for
|
|
4714
|
+
// `harvest` compound-op detection in the indexer (paired with a save
|
|
4715
|
+
// target, classified as `harvest` instead of `claim`).
|
|
4716
|
+
"incentive_v3::claim_reward": "claim",
|
|
4717
|
+
"incentive_v3::claim_reward_entry": "claim",
|
|
4718
|
+
"incentive_v3::claim_reward_with_account_cap": "claim"
|
|
4698
4719
|
}
|
|
4699
4720
|
};
|
|
4700
4721
|
var allDescriptors = [
|