@0dotxyz/p0-ts-sdk 2.7.0-alpha.1 → 2.7.0
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/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/instructions.cjs +2 -3
- package/dist/instructions.cjs.map +1 -1
- package/dist/instructions.js +2 -3
- package/dist/instructions.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6944,6 +6944,18 @@ declare class MarginfiAccountWrapper {
|
|
|
6944
6944
|
getClient(): Project0Client;
|
|
6945
6945
|
}
|
|
6946
6946
|
|
|
6947
|
+
/**
|
|
6948
|
+
* TEMPORARY: 0.1.9 → 0.1.10 program upgrade switch. See UPGRADE-0.1.10.md.
|
|
6949
|
+
*
|
|
6950
|
+
* 0.1.10 inserts required accounts into six instructions (positional wire
|
|
6951
|
+
* break, both directions). For the three the SDK executes or simulates
|
|
6952
|
+
* (end-flashloan, transfer, pulse-health), the builders in `instructions.ts`
|
|
6953
|
+
* build 0.1.10-style and inline-remove the inserted account while the target
|
|
6954
|
+
* program still runs 0.1.9 — decided by the announced upgrade time below.
|
|
6955
|
+
*
|
|
6956
|
+
* TODO(upgrade): delete this file (and the three inline checks) once the
|
|
6957
|
+
* upgrade is final.
|
|
6958
|
+
*/
|
|
6947
6959
|
/**
|
|
6948
6960
|
* Unix seconds (per program id) at which that deployment runs program 0.1.10.
|
|
6949
6961
|
* `0` = already upgraded; unlisted programs count as already upgraded.
|
package/dist/index.d.ts
CHANGED
|
@@ -6944,6 +6944,18 @@ declare class MarginfiAccountWrapper {
|
|
|
6944
6944
|
getClient(): Project0Client;
|
|
6945
6945
|
}
|
|
6946
6946
|
|
|
6947
|
+
/**
|
|
6948
|
+
* TEMPORARY: 0.1.9 → 0.1.10 program upgrade switch. See UPGRADE-0.1.10.md.
|
|
6949
|
+
*
|
|
6950
|
+
* 0.1.10 inserts required accounts into six instructions (positional wire
|
|
6951
|
+
* break, both directions). For the three the SDK executes or simulates
|
|
6952
|
+
* (end-flashloan, transfer, pulse-health), the builders in `instructions.ts`
|
|
6953
|
+
* build 0.1.10-style and inline-remove the inserted account while the target
|
|
6954
|
+
* program still runs 0.1.9 — decided by the announced upgrade time below.
|
|
6955
|
+
*
|
|
6956
|
+
* TODO(upgrade): delete this file (and the three inline checks) once the
|
|
6957
|
+
* upgrade is final.
|
|
6958
|
+
*/
|
|
6947
6959
|
/**
|
|
6948
6960
|
* Unix seconds (per program id) at which that deployment runs program 0.1.10.
|
|
6949
6961
|
* `0` = already upgraded; unlisted programs count as already upgraded.
|
package/dist/index.js
CHANGED
|
@@ -21319,10 +21319,9 @@ var TransactionArenaKeyMap = {
|
|
|
21319
21319
|
};
|
|
21320
21320
|
|
|
21321
21321
|
// src/dialect.ts
|
|
21322
|
-
var NOT_YET_SCHEDULED = Number.MAX_SAFE_INTEGER;
|
|
21323
21322
|
var MARGINFI_V0_1_10_ACTIVATION = {
|
|
21324
|
-
// mainnet —
|
|
21325
|
-
MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA:
|
|
21323
|
+
// mainnet — upgrades Tuesday 2026-08-25 17:00 CEST (15:00 UTC)
|
|
21324
|
+
MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA: 178767e4,
|
|
21326
21325
|
// staging — running 0.1.10 since 2026-08-03
|
|
21327
21326
|
stag8sTKds2h4KzjUw3zKTsxbqvT4XKHdaR9X9E6Rct: 0
|
|
21328
21327
|
};
|