@pyron-finance/pyron-client 2.5.3 → 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/bank-metadata-X4_5k9-u.d.cts +9488 -0
- package/dist/bank-metadata-X4_5k9-u.d.ts +9488 -0
- package/dist/common/index.cjs +1255 -68
- package/dist/common/index.d.cts +296 -2
- package/dist/common/index.d.ts +296 -2
- package/dist/common/index.js +1159 -2
- package/dist/index.cjs +27328 -25577
- package/dist/index.d.cts +3154 -12384
- package/dist/index.d.ts +3151 -12380
- package/dist/index.js +27160 -25337
- package/package.json +9 -7
- package/dist/chunk-DcLnE9XY.js +0 -37
- package/dist/common/index-BpWkZ1Nx.d.ts +0 -2
- package/dist/common/index-Cog_oDCj.d.cts +0 -2
- package/dist/common-DBVYOab7.cjs +0 -1954
- package/dist/common-IgVl6MYx.js +0 -1222
- package/dist/common-IgVl6MYx.js.map +0 -1
- package/dist/index-3HKqH7ts.d.ts +0 -2
- package/dist/index-Csp-53bZ.d.ts +0 -12674
- package/dist/index-Csp-53bZ.d.ts.map +0 -1
- package/dist/index-D1cmbuoh.d.cts +0 -12675
- package/dist/index-D1cmbuoh.d.cts.map +0 -1
- package/dist/index-DDauQZBg.d.cts +0 -2
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyron-finance/pyron-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,15 +34,16 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "
|
|
38
|
-
"dev": "
|
|
39
|
-
"ci": "
|
|
37
|
+
"build": "tsup",
|
|
38
|
+
"dev": "tsup --watch",
|
|
39
|
+
"ci": "pnpm ci:biome && pnpm check:types && pnpm build && pnpm check:exports && pnpm check:package",
|
|
40
40
|
"ci:biome": "biome check --write .",
|
|
41
41
|
"format": "biome check --linter-enabled=false --write",
|
|
42
42
|
"check:biome": "biome check --write .",
|
|
43
43
|
"check:exports": "attw --pack --profile node16 .",
|
|
44
44
|
"check:types": "tsc",
|
|
45
|
-
"check:package": "publint"
|
|
45
|
+
"check:package": "publint",
|
|
46
|
+
"start": "tsx --env-file=.env"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"@coral-xyz/anchor": "^0.30.1",
|
|
@@ -85,9 +86,10 @@
|
|
|
85
86
|
"big.js": "^6.2.2",
|
|
86
87
|
"inquirer": "^9.3.8",
|
|
87
88
|
"publint": "^0.3.16",
|
|
88
|
-
"
|
|
89
|
+
"tsup": "^8.5.1",
|
|
90
|
+
"tsx": "^4.19.0",
|
|
89
91
|
"typedoc": "^0.28.16",
|
|
90
92
|
"typescript": "^5.9.3"
|
|
91
93
|
},
|
|
92
|
-
"packageManager": "
|
|
94
|
+
"packageManager": "pnpm@9.15.0"
|
|
93
95
|
}
|
package/dist/chunk-DcLnE9XY.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
7
|
-
var __exportAll = (all, symbols) => {
|
|
8
|
-
let target = {};
|
|
9
|
-
for (var name in all) {
|
|
10
|
-
__defProp(target, name, {
|
|
11
|
-
get: all[name],
|
|
12
|
-
enumerable: true
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
if (symbols) {
|
|
16
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
17
|
-
}
|
|
18
|
-
return target;
|
|
19
|
-
};
|
|
20
|
-
var __copyProps = (to, from, except, desc) => {
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
23
|
-
key = keys[i];
|
|
24
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
25
|
-
__defProp(to, key, {
|
|
26
|
-
get: ((k) => from[k]).bind(null, key),
|
|
27
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return to;
|
|
33
|
-
};
|
|
34
|
-
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { __exportAll as n, __toCommonJS as r, __esmMin as t };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { $o as getRecentPrioritizationFeesByPercentile, Ao as bpsToPercentile, As as ceil, Bo as apyToApr, Bs as WalletToken, Co as percentFormatter, Cs as chunkedGetRawMultipleAccountInfoOrdered, Do as usdFormatter, Ds as getValueInsensitive, Eo as tokenPriceFormatter, Es as chunks, Fo as toNumber, Fs as InstructionsWrapper, Go as TransactionBroadcastType, Ho as calculateInterestFromApy, Io as uiToNative, Is as Program, Jo as getCalculatedPrioritizationFeeByPercentile, Ko as TransactionPriorityType, Lo as uiToNativeBigNumber, Ls as ProgramReadonly, Mo as nativeToUi, Ms as median, No as shortenAddress, Ns as NodeWallet, Oo as usdFormatterDyn, Os as setTimeoutPromise, Po as toBigNumber, Ps as Amount, Qo as getMinPrioritizationFeeByPercentile, Ro as wrappedI80F48toBigNumber, Rs as TransactionOptions, So as numeralFormatter, Ss as TransactionType, To as percentFormatterMod, Ts as chunkedGetRawMultipleAccountInfos, Uo as MaxCapType, Vo as calculateApyFromInterest, Vs as WrappedI80F48, Wo as PriotitizationFeeLevels, Xo as getMeanPrioritizationFeeByPercentile, Yo as getMaxPrioritizationFeeByPercentile, Zo as getMedianPrioritizationFeeByPercentile, _o as CustomNumberFormat, _s as ExtendedTransactionProperties, a as BankMetadataMap, as as getAccountKeys, bo as groupedNumberFormatter, bs as TransactionArenaKeyMap, c as fetchBanksExtendedMetadata, cs as isV0Tx, ds as replaceV0TxBlockhash, es as addTransactionMetadata, fs as replaceV0TxInstructions, gs as ExtendedTransaction, hs as updateV0Tx, i as BankMetadata, is as decompileV0Transaction, jo as composeRemainingAccounts, js as floor, ko as bigNumberToWrappedI80F48, ks as sleep, l as parseBanksMetadataOverride, ls as legacyTxToV0Tx, ms as uiToMicroLamports, n as BankExtendedMetadataMap, ns as decodeComputeBudgetInstruction, o as BanksExtendedMetadataOverrideMap, os as getComputeBudgetUnits, ps as splitInstructionsToFitTransactions, qo as TransactionSettings, r as BankExtendedMetadataOverride, rs as decodeInstruction, s as bankExtendedMetadataOverrideSchema, ss as getTxSize, t as BankExtendedMetadata, ts as compareInstructions, us as microLamportsToUi, vo as clampedNumeralFormatter, vs as ExtendedV0Transaction, wo as percentFormatterDyn, ws as chunkedGetRawMultipleAccountInfoOrderedWithNulls, xo as groupedNumberFormatterDyn, xs as TransactionConfigMap, yo as dynamicNumeralFormatter, ys as SolanaTransaction, zo as aprToApy, zs as Wallet } from "../index-Csp-53bZ.js";
|
|
2
|
-
export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { $o as getRecentPrioritizationFeesByPercentile, Ao as bpsToPercentile, As as ceil, Bo as apyToApr, Bs as WalletToken, Co as percentFormatter, Cs as chunkedGetRawMultipleAccountInfoOrdered, Do as usdFormatter, Ds as getValueInsensitive, Eo as tokenPriceFormatter, Es as chunks, Fo as toNumber, Fs as InstructionsWrapper, Go as TransactionBroadcastType, Ho as calculateInterestFromApy, Io as uiToNative, Is as Program, Jo as getCalculatedPrioritizationFeeByPercentile, Ko as TransactionPriorityType, Lo as uiToNativeBigNumber, Ls as ProgramReadonly, Mo as nativeToUi, Ms as median, No as shortenAddress, Ns as NodeWallet, Oo as usdFormatterDyn, Os as setTimeoutPromise, Po as toBigNumber, Ps as Amount, Qo as getMinPrioritizationFeeByPercentile, Ro as wrappedI80F48toBigNumber, Rs as TransactionOptions, So as numeralFormatter, Ss as TransactionType, To as percentFormatterMod, Ts as chunkedGetRawMultipleAccountInfos, Uo as MaxCapType, Vo as calculateApyFromInterest, Vs as WrappedI80F48, Wo as PriotitizationFeeLevels, Xo as getMeanPrioritizationFeeByPercentile, Yo as getMaxPrioritizationFeeByPercentile, Zo as getMedianPrioritizationFeeByPercentile, _o as CustomNumberFormat, _s as ExtendedTransactionProperties, a as BankMetadataMap, as as getAccountKeys, bo as groupedNumberFormatter, bs as TransactionArenaKeyMap, c as fetchBanksExtendedMetadata, cs as isV0Tx, ds as replaceV0TxBlockhash, es as addTransactionMetadata, fs as replaceV0TxInstructions, gs as ExtendedTransaction, hs as updateV0Tx, i as BankMetadata, is as decompileV0Transaction, jo as composeRemainingAccounts, js as floor, ko as bigNumberToWrappedI80F48, ks as sleep, l as parseBanksMetadataOverride, ls as legacyTxToV0Tx, ms as uiToMicroLamports, n as BankExtendedMetadataMap, ns as decodeComputeBudgetInstruction, o as BanksExtendedMetadataOverrideMap, os as getComputeBudgetUnits, ps as splitInstructionsToFitTransactions, qo as TransactionSettings, r as BankExtendedMetadataOverride, rs as decodeInstruction, s as bankExtendedMetadataOverrideSchema, ss as getTxSize, t as BankExtendedMetadata, ts as compareInstructions, us as microLamportsToUi, vo as clampedNumeralFormatter, vs as ExtendedV0Transaction, wo as percentFormatterDyn, ws as chunkedGetRawMultipleAccountInfoOrderedWithNulls, xo as groupedNumberFormatterDyn, xs as TransactionConfigMap, yo as dynamicNumeralFormatter, ys as SolanaTransaction, zo as aprToApy, zs as Wallet } from "../index-D1cmbuoh.cjs";
|
|
2
|
-
export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
|