@stellar/stellar-base 13.1.0 → 14.0.0-rc.2
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/CHANGELOG.md +25 -0
- package/README.md +15 -1
- package/dist/stellar-base.js +11990 -11134
- package/dist/stellar-base.min.js +1 -1
- package/lib/address.js +74 -9
- package/lib/auth.js +18 -21
- package/lib/generated/curr_generated.js +501 -414
- package/lib/generated/next_generated.js +455 -429
- package/lib/index.js +0 -7
- package/lib/keypair.js +4 -4
- package/lib/numbers/xdr_large_int.js +4 -4
- package/lib/operation.js +1 -2
- package/lib/operations/invoke_host_function.js +20 -1
- package/lib/scval.js +21 -1
- package/lib/signing.js +8 -84
- package/lib/sorobandata_builder.js +6 -6
- package/lib/strkey.js +88 -3
- package/package.json +15 -19
- package/types/curr.d.ts +880 -719
- package/types/index.d.ts +9 -2
- package/types/next.d.ts +838 -837
package/types/index.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ export class Contract {
|
|
|
38
38
|
export class MuxedAccount {
|
|
39
39
|
constructor(account: Account, sequence: string);
|
|
40
40
|
static fromAddress(mAddress: string, sequenceNum: string): MuxedAccount;
|
|
41
|
-
static parseBaseAddress(mAddress: string): string;
|
|
42
41
|
|
|
43
42
|
/* Modeled after Account, above */
|
|
44
43
|
accountId(): string;
|
|
@@ -990,6 +989,14 @@ export namespace StrKey {
|
|
|
990
989
|
function encodeContract(data: Buffer): string;
|
|
991
990
|
function decodeContract(address: string): Buffer;
|
|
992
991
|
function isValidContract(address: string): boolean;
|
|
992
|
+
|
|
993
|
+
function encodeClaimableBalance(data: Buffer): string;
|
|
994
|
+
function decodeClaimableBalance(address: string): Buffer;
|
|
995
|
+
function isValidClaimableBalance(address: string): boolean;
|
|
996
|
+
|
|
997
|
+
function encodeLiquidityPool(data: Buffer): string;
|
|
998
|
+
function decodeLiquidityPool(address: string): Buffer;
|
|
999
|
+
function isValidLiquidityPool(address: string): boolean;
|
|
993
1000
|
}
|
|
994
1001
|
|
|
995
1002
|
export namespace SignerKey {
|
|
@@ -1191,7 +1198,7 @@ export class SorobanDataBuilder {
|
|
|
1191
1198
|
setResourceFee(fee: IntLike): SorobanDataBuilder;
|
|
1192
1199
|
setResources(
|
|
1193
1200
|
cpuInstrs: number,
|
|
1194
|
-
|
|
1201
|
+
diskReadBytes: number,
|
|
1195
1202
|
writeBytes: number
|
|
1196
1203
|
): SorobanDataBuilder;
|
|
1197
1204
|
|