@augustdigital/sdk 4.24.8 → 4.24.10-alpha.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/lib/abis/RwaRedeem.d.ts +76 -0
- package/lib/abis/RwaRedeem.js +55 -0
- package/lib/abis/RwaRedeem.js.map +1 -0
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.d.ts +85 -0
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js +1878 -0
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js.map +1 -0
- package/lib/adapters/solana/getters.d.ts +2 -2
- package/lib/adapters/solana/getters.js +36 -100
- package/lib/adapters/solana/getters.js.map +1 -1
- package/lib/adapters/solana/index.d.ts +2 -2
- package/lib/adapters/solana/utils.d.ts +2 -2
- package/lib/adapters/solana/utils.js +1 -8
- package/lib/adapters/solana/utils.js.map +1 -1
- package/lib/adapters/stellar/actions.d.ts +3 -0
- package/lib/adapters/stellar/actions.js +11 -0
- package/lib/adapters/stellar/actions.js.map +1 -0
- package/lib/adapters/stellar/constants.d.ts +10 -0
- package/lib/adapters/stellar/constants.js +16 -0
- package/lib/adapters/stellar/constants.js.map +1 -0
- package/lib/adapters/stellar/getters.d.ts +4 -0
- package/lib/adapters/stellar/getters.js +51 -0
- package/lib/adapters/stellar/getters.js.map +1 -0
- package/lib/adapters/stellar/index.d.ts +24 -0
- package/lib/adapters/stellar/index.js +68 -0
- package/lib/adapters/stellar/index.js.map +1 -0
- package/lib/adapters/stellar/types.d.ts +15 -0
- package/lib/adapters/stellar/types.js +3 -0
- package/lib/adapters/stellar/types.js.map +1 -0
- package/lib/adapters/stellar/utils.d.ts +12 -0
- package/lib/adapters/stellar/utils.js +31 -0
- package/lib/adapters/stellar/utils.js.map +1 -0
- package/lib/adapters/sui/transformer.js +4 -9
- package/lib/adapters/sui/transformer.js.map +1 -1
- package/lib/core/base.class.d.ts +3 -2
- package/lib/core/base.class.js +14 -7
- package/lib/core/base.class.js.map +1 -1
- package/lib/core/constants/core.d.ts +6 -3
- package/lib/core/constants/core.js +3 -0
- package/lib/core/constants/core.js.map +1 -1
- package/lib/core/constants/hardcoded-vaults.d.ts +7 -0
- package/lib/core/constants/hardcoded-vaults.js +179 -0
- package/lib/core/constants/hardcoded-vaults.js.map +1 -0
- package/lib/core/constants/ovault.d.ts +13 -0
- package/lib/core/constants/ovault.js +160 -0
- package/lib/core/constants/ovault.js.map +1 -0
- package/lib/core/constants/rwa-vaults.d.ts +4 -0
- package/lib/core/constants/rwa-vaults.js +27 -0
- package/lib/core/constants/rwa-vaults.js.map +1 -0
- package/lib/core/constants/web3.d.ts +5 -0
- package/lib/core/constants/web3.js +9 -0
- package/lib/core/constants/web3.js.map +1 -1
- package/lib/core/constants.adapters.d.ts +117 -0
- package/lib/core/constants.adapters.js +160 -0
- package/lib/core/constants.adapters.js.map +1 -0
- package/lib/core/constants.core.d.ts +78 -0
- package/lib/core/constants.core.js +75 -0
- package/lib/core/constants.core.js.map +1 -0
- package/lib/core/constants.vaults.d.ts +64 -0
- package/lib/core/constants.vaults.js +156 -0
- package/lib/core/constants.vaults.js.map +1 -0
- package/lib/core/constants.web3.d.ts +31 -0
- package/lib/core/constants.web3.js +100 -0
- package/lib/core/constants.web3.js.map +1 -0
- package/lib/core/fetcher.d.ts +4 -4
- package/lib/core/fetcher.js +9 -2
- package/lib/core/fetcher.js.map +1 -1
- package/lib/core/helpers/address-utils.d.ts +3 -0
- package/lib/core/helpers/address-utils.js +18 -0
- package/lib/core/helpers/address-utils.js.map +1 -0
- package/lib/core/helpers/vaults.js +37 -29
- package/lib/core/helpers/vaults.js.map +1 -1
- package/lib/core/helpers/web3.d.ts +3 -2
- package/lib/core/helpers/web3.js +17 -1
- package/lib/core/helpers/web3.js.map +1 -1
- package/lib/core/helpers.adapters.d.ts +9 -0
- package/lib/core/helpers.adapters.js +28 -0
- package/lib/core/helpers.adapters.js.map +1 -0
- package/lib/core/helpers.core.d.ts +48 -0
- package/lib/core/helpers.core.js +210 -0
- package/lib/core/helpers.core.js.map +1 -0
- package/lib/core/helpers.signer.d.ts +9 -0
- package/lib/core/helpers.signer.js +54 -0
- package/lib/core/helpers.signer.js.map +1 -0
- package/lib/core/helpers.vaults.d.ts +36 -0
- package/lib/core/helpers.vaults.js +145 -0
- package/lib/core/helpers.vaults.js.map +1 -0
- package/lib/core/helpers.web3.d.ts +95 -0
- package/lib/core/helpers.web3.js +376 -0
- package/lib/core/helpers.web3.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +5 -0
- package/lib/main.js +7 -2
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/getters.d.ts +29 -2
- package/lib/modules/vaults/getters.js +516 -83
- package/lib/modules/vaults/getters.js.map +1 -1
- package/lib/modules/vaults/main.d.ts +6 -0
- package/lib/modules/vaults/main.js +117 -34
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/utils/call-data-decoder.d.ts +14 -0
- package/lib/modules/vaults/utils/call-data-decoder.js +138 -0
- package/lib/modules/vaults/utils/call-data-decoder.js.map +1 -0
- package/lib/modules/vaults/utils/date-utils.d.ts +11 -0
- package/lib/modules/vaults/utils/date-utils.js +39 -0
- package/lib/modules/vaults/utils/date-utils.js.map +1 -0
- package/lib/modules/vaults/utils.d.ts +2 -0
- package/lib/modules/vaults/utils.js +117 -1
- package/lib/modules/vaults/utils.js.map +1 -1
- package/lib/services/layerzero/builder.d.ts +7 -0
- package/lib/services/layerzero/builder.js +251 -0
- package/lib/services/layerzero/builder.js.map +1 -0
- package/lib/services/layerzero/deposits.js +2 -8
- package/lib/services/layerzero/deposits.js.map +1 -1
- package/lib/services/layerzero/ovault-deposit.d.ts +6 -0
- package/lib/services/layerzero/ovault-deposit.js +73 -0
- package/lib/services/layerzero/ovault-deposit.js.map +1 -0
- package/lib/services/layerzero/ovault-redeem.d.ts +4 -0
- package/lib/services/layerzero/ovault-redeem.js +46 -0
- package/lib/services/layerzero/ovault-redeem.js.map +1 -0
- package/lib/services/layerzero/redeems.d.ts +10 -0
- package/lib/services/layerzero/redeems.js +79 -0
- package/lib/services/layerzero/redeems.js.map +1 -0
- package/lib/services/layerzero/utils.d.ts +1 -0
- package/lib/services/layerzero/utils.js +11 -0
- package/lib/services/layerzero/utils.js.map +1 -0
- package/lib/types/ovault.d.ts +78 -0
- package/lib/types/ovault.js +3 -0
- package/lib/types/ovault.js.map +1 -0
- package/lib/types/rwa-redemption.d.ts +12 -0
- package/lib/types/rwa-redemption.js +3 -0
- package/lib/types/rwa-redemption.js.map +1 -0
- package/lib/types/vaults.d.ts +41 -9
- package/lib/types/vaults.js.map +1 -1
- package/lib/types/web3.d.ts +5 -0
- package/lib/types/web3.js +10 -0
- package/lib/types/web3.js.map +1 -1
- package/lib/types/webserver.d.ts +11 -2
- package/lib/verify.d.ts +2 -0
- package/lib/verify.js +33 -0
- package/lib/verify.js.map +1 -0
- package/package.json +12 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ovault.js","sourceRoot":"","sources":["../../src.ts/types/ovault.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IAddress } from './web3';
|
|
2
|
+
export interface RedeemableAssetConfig {
|
|
3
|
+
address: IAddress;
|
|
4
|
+
symbol: string;
|
|
5
|
+
decimals: number;
|
|
6
|
+
spreadBps: number;
|
|
7
|
+
}
|
|
8
|
+
export interface RwaRedemptionVaultConfig {
|
|
9
|
+
chainId: number;
|
|
10
|
+
redeemableAssets: RedeemableAssetConfig[];
|
|
11
|
+
outputAssetSymbol: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rwa-redemption.js","sourceRoot":"","sources":["../../src.ts/types/rwa-redemption.ts"],"names":[],"mappings":""}
|
package/lib/types/vaults.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IAddress, INormalizedNumber } from './web3';
|
|
1
|
+
import { IAddress, INormalizedNumber, VaultAddress } from './web3';
|
|
2
2
|
import { IDebankProtocolExposure, IDebankTokenExposure, IOTCPosition, IWSSubaccountCefi, IWSSubaccountLoan, IWSTokenEntry, ITokenizedVaultOperator, ITokenizedVaultEoaOperator, IHIstoricalSnapshot } from './webserver';
|
|
3
3
|
import type { InterfaceAbi } from 'ethers';
|
|
4
4
|
export interface IVaultLoan {
|
|
5
|
-
vault:
|
|
5
|
+
vault: VaultAddress;
|
|
6
6
|
address: IAddress;
|
|
7
7
|
lender: IAddress;
|
|
8
8
|
borrower: IAddress;
|
|
@@ -28,7 +28,7 @@ export type IVaultUserHistoryItem = {
|
|
|
28
28
|
amount: INormalizedNumber;
|
|
29
29
|
pool: IAddress;
|
|
30
30
|
chainId: number;
|
|
31
|
-
type: 'withdraw-request' | 'deposit' | 'withdraw-processed';
|
|
31
|
+
type: 'withdraw-request' | 'deposit' | 'withdraw-processed' | 'redeem';
|
|
32
32
|
transactionHash: IAddress;
|
|
33
33
|
};
|
|
34
34
|
export type IVaultRewards = {
|
|
@@ -90,8 +90,8 @@ export interface IVaultStrategist {
|
|
|
90
90
|
name: string;
|
|
91
91
|
type?: string;
|
|
92
92
|
}
|
|
93
|
-
export type IVaultVersion = 'evm-0' | 'evm-1' | 'evm-2' | 'sol-0' | 'sui-0';
|
|
94
|
-
export type ChainType
|
|
93
|
+
export type IVaultVersion = 'evm-0' | 'evm-1' | 'evm-2' | 'sol-0' | 'sui-0' | 'stellar-0';
|
|
94
|
+
export type { ChainType } from './web3';
|
|
95
95
|
export interface IVaultAdapterConfig {
|
|
96
96
|
lpTokenAddress?: IAddress;
|
|
97
97
|
isNativeTokenDeposit: boolean;
|
|
@@ -110,12 +110,12 @@ export interface IVault {
|
|
|
110
110
|
historical_snapshots?: IHIstoricalSnapshot[];
|
|
111
111
|
depositCap?: INormalizedNumber;
|
|
112
112
|
maxDepositAmount?: INormalizedNumber;
|
|
113
|
-
address:
|
|
113
|
+
address: VaultAddress;
|
|
114
114
|
chainId: number;
|
|
115
115
|
name: string;
|
|
116
116
|
logoUrl: string;
|
|
117
117
|
receipt: {
|
|
118
|
-
address:
|
|
118
|
+
address: VaultAddress;
|
|
119
119
|
symbol: string;
|
|
120
120
|
decimals: number;
|
|
121
121
|
};
|
|
@@ -137,7 +137,7 @@ export interface IVault {
|
|
|
137
137
|
operators: ITokenizedVaultOperator[];
|
|
138
138
|
eoa_operators: ITokenizedVaultEoaOperator[];
|
|
139
139
|
depositAssets: {
|
|
140
|
-
address:
|
|
140
|
+
address: VaultAddress;
|
|
141
141
|
symbol: string;
|
|
142
142
|
decimals: number;
|
|
143
143
|
}[];
|
|
@@ -207,9 +207,10 @@ export type IVaultRedemptionHistoryItem = {
|
|
|
207
207
|
processed: Date;
|
|
208
208
|
requested: Date;
|
|
209
209
|
vault: IAddress;
|
|
210
|
+
transactionHash?: string;
|
|
210
211
|
};
|
|
211
212
|
export interface IVaultPosition {
|
|
212
|
-
vault:
|
|
213
|
+
vault: VaultAddress;
|
|
213
214
|
status: string;
|
|
214
215
|
availableRedemptions: IVaultAvailableRedemption[];
|
|
215
216
|
pendingRedemptions: IVaultAvailableRedemption[];
|
|
@@ -270,6 +271,37 @@ export interface IVaultWithdrawals {
|
|
|
270
271
|
receiver: IAddress;
|
|
271
272
|
}>;
|
|
272
273
|
}
|
|
274
|
+
export interface IVaultPendingRedemptions {
|
|
275
|
+
vault: {
|
|
276
|
+
address: string;
|
|
277
|
+
chainId: number;
|
|
278
|
+
name: string | null;
|
|
279
|
+
symbol: string | null;
|
|
280
|
+
};
|
|
281
|
+
asset: {
|
|
282
|
+
address: string;
|
|
283
|
+
symbol: string | null;
|
|
284
|
+
decimals: number | null;
|
|
285
|
+
};
|
|
286
|
+
liquidity: {
|
|
287
|
+
available: number;
|
|
288
|
+
};
|
|
289
|
+
summary: {
|
|
290
|
+
totalPending: number;
|
|
291
|
+
pendingCount: number;
|
|
292
|
+
pendingToLiquidityRatio: number | null;
|
|
293
|
+
isLiquiditySufficient: boolean;
|
|
294
|
+
shortfall: number | null;
|
|
295
|
+
nextRedemptionDate: string | null;
|
|
296
|
+
isOverdue: boolean;
|
|
297
|
+
};
|
|
298
|
+
redemptionsByDate: Array<{
|
|
299
|
+
date: string;
|
|
300
|
+
assets: number;
|
|
301
|
+
daysUntilDue: number;
|
|
302
|
+
isOverdue: boolean;
|
|
303
|
+
}>;
|
|
304
|
+
}
|
|
273
305
|
export interface IVaultMetadataItem {
|
|
274
306
|
symbol: string;
|
|
275
307
|
subgraph: string;
|
package/lib/types/vaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;AAkPA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,gEAAuC,CAAA;IACvC,0DAAiC,CAAA;AACnC,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
package/lib/types/web3.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Signer, Provider } from 'ethers';
|
|
2
2
|
export type IAddress = `0x${string}`;
|
|
3
|
+
export type VaultAddress = string;
|
|
3
4
|
export type IChainId = number;
|
|
5
|
+
export type ChainType = 'evm' | 'solana' | 'sui' | 'stellar';
|
|
6
|
+
export declare function isChainType(value: unknown): value is ChainType;
|
|
4
7
|
export type IChainObj = {
|
|
5
8
|
chainId: number;
|
|
6
9
|
name: string;
|
|
@@ -18,6 +21,8 @@ export type IInfuraOptions = {
|
|
|
18
21
|
apiKey: string;
|
|
19
22
|
};
|
|
20
23
|
export type ISolanaNetwork = 'devnet' | 'mainnet-beta' | 'testnet' | 'localnet';
|
|
24
|
+
export type IStellarNetwork = 'mainnet' | 'testnet';
|
|
25
|
+
export type StellarNetwork = IStellarNetwork;
|
|
21
26
|
export interface ISolanaConfig {
|
|
22
27
|
rpcUrl: string;
|
|
23
28
|
network: ISolanaNetwork;
|
package/lib/types/web3.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isChainType = isChainType;
|
|
4
|
+
const VALID_CHAIN_TYPES = new Set([
|
|
5
|
+
'evm',
|
|
6
|
+
'solana',
|
|
7
|
+
'sui',
|
|
8
|
+
'stellar',
|
|
9
|
+
]);
|
|
10
|
+
function isChainType(value) {
|
|
11
|
+
return typeof value === 'string' && VALID_CHAIN_TYPES.has(value);
|
|
12
|
+
}
|
|
3
13
|
//# sourceMappingURL=web3.js.map
|
package/lib/types/web3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web3.js","sourceRoot":"","sources":["../../src.ts/types/web3.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"web3.js","sourceRoot":"","sources":["../../src.ts/types/web3.ts"],"names":[],"mappings":";;AAyBA,kCAEC;AAVD,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAY;IAChE,KAAK;IACL,QAAQ;IACR,KAAK;IACL,SAAS;CACV,CAAC,CAAC;AAGH,SAAgB,WAAW,CAAC,KAAc;IACxC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC"}
|
package/lib/types/webserver.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUserRoles } from './user';
|
|
2
|
-
import { IAddress } from './web3';
|
|
2
|
+
import { IAddress, type ChainType, type IStellarNetwork } from './web3';
|
|
3
3
|
export type IHIstoricalSnapshot = {
|
|
4
4
|
total_assets: number;
|
|
5
5
|
total_shares: number;
|
|
@@ -472,12 +472,20 @@ export interface ISolanaVaultMetadata {
|
|
|
472
472
|
deposit_token_decimals?: number;
|
|
473
473
|
program_id?: string;
|
|
474
474
|
}
|
|
475
|
+
export interface IStellarVaultMetadata {
|
|
476
|
+
deposit_token_address: string | null;
|
|
477
|
+
deposit_token_symbol?: string;
|
|
478
|
+
deposit_token_decimals?: number;
|
|
479
|
+
network_name: IStellarNetwork;
|
|
480
|
+
utila_vault_id?: string;
|
|
481
|
+
utila_wallet_id?: string;
|
|
482
|
+
}
|
|
475
483
|
export interface ITokenizedVault {
|
|
476
484
|
address: string;
|
|
477
485
|
yield_distributor: string;
|
|
478
486
|
chain: number;
|
|
479
487
|
enable_external_assets_update: boolean;
|
|
480
|
-
chain_type:
|
|
488
|
+
chain_type: ChainType;
|
|
481
489
|
default_apy_horizon: 7 | 30 | null;
|
|
482
490
|
enabled_historical_price_horizons: any[];
|
|
483
491
|
description: string;
|
|
@@ -517,6 +525,7 @@ export interface ITokenizedVault {
|
|
|
517
525
|
eoa_operators: ITokenizedVaultEoaOperator[];
|
|
518
526
|
composability_integrations?: IComposabilityIntegration[];
|
|
519
527
|
solana_vault_metadata?: ISolanaVaultMetadata | null;
|
|
528
|
+
stellar_vault_metadata?: IStellarVaultMetadata | null;
|
|
520
529
|
lagDuration: number;
|
|
521
530
|
historical_apy: Record<number, number> | null;
|
|
522
531
|
historical_snapshots?: IHIstoricalSnapshot[];
|
package/lib/verify.d.ts
ADDED
package/lib/verify.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.verifyInfuraKey = verifyInfuraKey;
|
|
13
|
+
exports.verifyAugustKey = verifyAugustKey;
|
|
14
|
+
const utils_1 = require("@augustdigital/utils");
|
|
15
|
+
function verifyInfuraKey(key) {
|
|
16
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17
|
+
if (key.length !== 32)
|
|
18
|
+
return false;
|
|
19
|
+
const regex = /[a-z0-9]+/i;
|
|
20
|
+
if (!regex.test(key))
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function verifyAugustKey(key) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
const verify = yield (0, utils_1.fetchAugustWithKey)(key, utils_1.WEBSERVER_ENDPOINTS.auth.verify);
|
|
28
|
+
if (verify.status === 200)
|
|
29
|
+
return true;
|
|
30
|
+
return false;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=verify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.js","sourceRoot":"","sources":["../src.ts/verify.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,0CAKC;AAED,0CAIC;AAbD,gDAA+E;AAE/E,SAAsB,eAAe,CAAC,GAAW;;QAC/C,IAAI,GAAG,CAAC,MAAM,KAAK,EAAE;YAAE,OAAO,KAAK,CAAC;QACpC,MAAM,KAAK,GAAG,YAAY,CAAC;QAC3B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;CAAA;AAED,SAAsB,eAAe,CAAC,GAAW;;QAC/C,MAAM,MAAM,GAAG,MAAM,IAAA,0BAAkB,EAAC,GAAG,EAAE,2BAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,MAAM,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augustdigital/sdk",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.10-alpha.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"augustdigital",
|
|
@@ -12,6 +12,16 @@
|
|
|
12
12
|
"author": "August Digital",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"description": "JS SDK powering the August Digital ecosystem.",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc",
|
|
17
|
+
"test": "pnpm build && cross-env node dist/test",
|
|
18
|
+
"test:jest": "jest",
|
|
19
|
+
"test:jest:watch": "jest --watch",
|
|
20
|
+
"test:jest:coverage": "jest --coverage",
|
|
21
|
+
"clean": "rm -rf ./lib",
|
|
22
|
+
"format": "eslint . --fix",
|
|
23
|
+
"lint-sdk": "lint-staged"
|
|
24
|
+
},
|
|
15
25
|
"lint-staged": {
|
|
16
26
|
"*.{ts,tsx,js,jsx,json}": [
|
|
17
27
|
"eslint --fix"
|
|
@@ -53,15 +63,5 @@
|
|
|
53
63
|
"viem": {
|
|
54
64
|
"optional": true
|
|
55
65
|
}
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build": "tsc",
|
|
59
|
-
"test": "pnpm build && cross-env node dist/test",
|
|
60
|
-
"test:jest": "jest",
|
|
61
|
-
"test:jest:watch": "jest --watch",
|
|
62
|
-
"test:jest:coverage": "jest --coverage",
|
|
63
|
-
"clean": "rm -rf ./lib",
|
|
64
|
-
"format": "eslint . --fix",
|
|
65
|
-
"lint-sdk": "lint-staged"
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|