@mysten/sui 1.35.0 → 1.36.1
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 +20 -0
- package/dist/cjs/bcs/bcs.d.ts +35 -16
- package/dist/cjs/bcs/bcs.js +6 -6
- package/dist/cjs/bcs/bcs.js.map +2 -2
- package/dist/cjs/bcs/effects.d.ts +30 -60
- package/dist/cjs/bcs/index.d.ts +65 -76
- package/dist/cjs/client/types/generated.d.ts +22 -14
- package/dist/cjs/client/types/generated.js.map +1 -1
- package/dist/cjs/client/types/params.d.ts +1 -1
- package/dist/cjs/client/types/params.js.map +1 -1
- package/dist/cjs/cryptography/signature-scheme.d.ts +1 -0
- package/dist/cjs/cryptography/signature-scheme.js +2 -1
- package/dist/cjs/cryptography/signature-scheme.js.map +2 -2
- package/dist/cjs/experimental/client.d.ts +1 -1
- package/dist/cjs/experimental/client.js +6 -2
- package/dist/cjs/experimental/client.js.map +2 -2
- package/dist/cjs/experimental/core.d.ts +1 -0
- package/dist/cjs/experimental/core.js +6 -2
- package/dist/cjs/experimental/core.js.map +2 -2
- package/dist/cjs/experimental/transports/graphql.js +8 -2
- package/dist/cjs/experimental/transports/graphql.js.map +2 -2
- package/dist/cjs/experimental/transports/json-rpc-resolver.js +1 -1
- package/dist/cjs/experimental/transports/json-rpc-resolver.js.map +2 -2
- package/dist/cjs/experimental/transports/jsonRPC.js +5 -8
- package/dist/cjs/experimental/transports/jsonRPC.js.map +2 -2
- package/dist/cjs/experimental/types.d.ts +8 -11
- package/dist/cjs/experimental/types.js.map +1 -1
- package/dist/cjs/graphql/generated/latest/tada-env.d.ts +33 -32
- package/dist/cjs/graphql/generated/latest/tada-env.js +38 -39
- package/dist/cjs/graphql/generated/latest/tada-env.js.map +2 -2
- package/dist/cjs/graphql/generated/queries.d.ts +36 -34
- package/dist/cjs/graphql/generated/queries.js +24 -30
- package/dist/cjs/graphql/generated/queries.js.map +2 -2
- package/dist/cjs/multisig/publickey.d.ts +4 -0
- package/dist/cjs/multisig/publickey.js.map +2 -2
- package/dist/cjs/transactions/Transaction.d.ts +2 -2
- package/dist/cjs/transactions/TransactionData.d.ts +2 -2
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +2 -2
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/publickey.d.ts +1 -1
- package/dist/cjs/zklogin/publickey.js.map +2 -2
- package/dist/esm/bcs/bcs.d.ts +35 -16
- package/dist/esm/bcs/bcs.js +6 -6
- package/dist/esm/bcs/bcs.js.map +2 -2
- package/dist/esm/bcs/effects.d.ts +30 -60
- package/dist/esm/bcs/index.d.ts +65 -76
- package/dist/esm/client/types/generated.d.ts +22 -14
- package/dist/esm/client/types/params.d.ts +1 -1
- package/dist/esm/cryptography/signature-scheme.d.ts +1 -0
- package/dist/esm/cryptography/signature-scheme.js +2 -1
- package/dist/esm/cryptography/signature-scheme.js.map +2 -2
- package/dist/esm/experimental/client.d.ts +1 -1
- package/dist/esm/experimental/client.js +6 -2
- package/dist/esm/experimental/client.js.map +2 -2
- package/dist/esm/experimental/core.d.ts +1 -0
- package/dist/esm/experimental/core.js +6 -2
- package/dist/esm/experimental/core.js.map +2 -2
- package/dist/esm/experimental/transports/graphql.js +8 -2
- package/dist/esm/experimental/transports/graphql.js.map +2 -2
- package/dist/esm/experimental/transports/json-rpc-resolver.js +1 -1
- package/dist/esm/experimental/transports/json-rpc-resolver.js.map +2 -2
- package/dist/esm/experimental/transports/jsonRPC.js +5 -8
- package/dist/esm/experimental/transports/jsonRPC.js.map +2 -2
- package/dist/esm/experimental/types.d.ts +8 -11
- package/dist/esm/graphql/generated/latest/tada-env.d.ts +33 -32
- package/dist/esm/graphql/generated/latest/tada-env.js +38 -39
- package/dist/esm/graphql/generated/latest/tada-env.js.map +2 -2
- package/dist/esm/graphql/generated/queries.d.ts +36 -34
- package/dist/esm/graphql/generated/queries.js +24 -30
- package/dist/esm/graphql/generated/queries.js.map +2 -2
- package/dist/esm/multisig/publickey.d.ts +4 -0
- package/dist/esm/multisig/publickey.js.map +2 -2
- package/dist/esm/transactions/Transaction.d.ts +2 -2
- package/dist/esm/transactions/TransactionData.d.ts +2 -2
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/publickey.d.ts +1 -1
- package/dist/esm/zklogin/publickey.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/bcs/bcs.ts +4 -4
- package/src/client/types/generated.ts +23 -13
- package/src/client/types/params.ts +1 -2
- package/src/cryptography/signature-scheme.ts +1 -0
- package/src/experimental/client.ts +7 -2
- package/src/experimental/core.ts +12 -2
- package/src/experimental/transports/graphql.ts +8 -2
- package/src/experimental/transports/json-rpc-resolver.ts +6 -2
- package/src/experimental/transports/jsonRPC.ts +5 -8
- package/src/experimental/types.ts +13 -13
- package/src/graphql/generated/latest/schema.graphql +15 -18
- package/src/graphql/generated/latest/tada-env.ts +38 -39
- package/src/graphql/generated/queries.ts +42 -53
- package/src/graphql/queries/objects.graphql +4 -5
- package/src/multisig/publickey.ts +4 -2
- package/src/version.ts +2 -2
- package/src/zklogin/publickey.ts +1 -3
|
@@ -321,9 +321,6 @@ export enum AddressTransactionBlockRelationship {
|
|
|
321
321
|
Sent = 'SENT'
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
/** An Authenticator represents the access control rules for a ConsensusV2 object. */
|
|
325
|
-
export type Authenticator = Address;
|
|
326
|
-
|
|
327
324
|
/** System transaction for creating the on-chain state used by zkLogin. */
|
|
328
325
|
export type AuthenticatorStateCreateTransaction = {
|
|
329
326
|
__typename?: 'AuthenticatorStateCreateTransaction';
|
|
@@ -1052,6 +1049,13 @@ export type CoinMetadataSuinsRegistrationsArgs = {
|
|
|
1052
1049
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1053
1050
|
};
|
|
1054
1051
|
|
|
1052
|
+
/** Same as AddressOwner, but the object is versioned by consensus. */
|
|
1053
|
+
export type ConsensusAddressOwner = {
|
|
1054
|
+
__typename?: 'ConsensusAddressOwner';
|
|
1055
|
+
owner?: Maybe<Owner>;
|
|
1056
|
+
startVersion: Scalars['UInt53']['output'];
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1055
1059
|
/**
|
|
1056
1060
|
* System transaction that runs at the beginning of a checkpoint, and is responsible for setting
|
|
1057
1061
|
* the current value of the clock, based on the timestamp from consensus.
|
|
@@ -1071,17 +1075,6 @@ export type ConsensusCommitPrologueTransaction = {
|
|
|
1071
1075
|
round: Scalars['UInt53']['output'];
|
|
1072
1076
|
};
|
|
1073
1077
|
|
|
1074
|
-
/**
|
|
1075
|
-
* A ConsensusV2 object is an object that is automatically versioned by the consensus protocol
|
|
1076
|
-
* and allows different authentication modes based on the chosen authenticator.
|
|
1077
|
-
* (Initially, only single-owner authentication is supported.)
|
|
1078
|
-
*/
|
|
1079
|
-
export type ConsensusV2 = {
|
|
1080
|
-
__typename?: 'ConsensusV2';
|
|
1081
|
-
authenticator?: Maybe<Authenticator>;
|
|
1082
|
-
startVersion: Scalars['UInt53']['output'];
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
1078
|
export type DependencyConnection = {
|
|
1086
1079
|
__typename?: 'DependencyConnection';
|
|
1087
1080
|
/** A list of edges. */
|
|
@@ -3311,8 +3304,8 @@ export enum ObjectKind {
|
|
|
3311
3304
|
NotIndexed = 'NOT_INDEXED'
|
|
3312
3305
|
}
|
|
3313
3306
|
|
|
3314
|
-
/** The object's owner type: Immutable, Shared, Parent, or
|
|
3315
|
-
export type ObjectOwner = AddressOwner |
|
|
3307
|
+
/** The object's owner type: Immutable, Shared, Parent, Address, or ConsensusAddress. */
|
|
3308
|
+
export type ObjectOwner = AddressOwner | ConsensusAddressOwner | Immutable | Parent | Shared;
|
|
3316
3309
|
|
|
3317
3310
|
export type ObjectRef = {
|
|
3318
3311
|
/** ID of the object. */
|
|
@@ -4898,6 +4891,8 @@ export type TransactionBlockEdge = {
|
|
|
4898
4891
|
/** The effects representing the result of executing a transaction block. */
|
|
4899
4892
|
export type TransactionBlockEffects = {
|
|
4900
4893
|
__typename?: 'TransactionBlockEffects';
|
|
4894
|
+
/** The error code of the Move abort, populated if this transaction failed with a Move abort. */
|
|
4895
|
+
abortCode?: Maybe<Scalars['BigInt']['output']>;
|
|
4901
4896
|
/**
|
|
4902
4897
|
* The effect this transaction had on the balances (sum of coin values per coin type) of
|
|
4903
4898
|
* addresses and objects.
|
|
@@ -5352,7 +5347,7 @@ export type GetCoinsQueryVariables = Exact<{
|
|
|
5352
5347
|
}>;
|
|
5353
5348
|
|
|
5354
5349
|
|
|
5355
|
-
export type GetCoinsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', address: any, coins: { __typename?: 'CoinConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'Coin', coinBalance?: any | null, address: any, version: any, digest?: string | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: '
|
|
5350
|
+
export type GetCoinsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', address: any, coins: { __typename?: 'CoinConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'Coin', coinBalance?: any | null, address: any, version: any, digest?: string | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Immutable' } | { __typename: 'Parent', parent?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Shared', initialSharedVersion: any } | null, contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null }> } } | null };
|
|
5356
5351
|
|
|
5357
5352
|
export type GetDynamicFieldsQueryVariables = Exact<{
|
|
5358
5353
|
parentId: Scalars['SuiAddress']['input'];
|
|
@@ -5385,7 +5380,7 @@ export type GetOwnedObjectsQueryVariables = Exact<{
|
|
|
5385
5380
|
}>;
|
|
5386
5381
|
|
|
5387
5382
|
|
|
5388
|
-
export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: any, digest?: string | null, version: any, contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: '
|
|
5383
|
+
export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: any, digest?: string | null, version: any, contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Immutable' } | { __typename: 'Parent', parent?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Shared', initialSharedVersion: any } | null }> } } | null };
|
|
5389
5384
|
|
|
5390
5385
|
export type MultiGetObjectsQueryVariables = Exact<{
|
|
5391
5386
|
objectIds: Array<Scalars['SuiAddress']['input']> | Scalars['SuiAddress']['input'];
|
|
@@ -5394,15 +5389,15 @@ export type MultiGetObjectsQueryVariables = Exact<{
|
|
|
5394
5389
|
}>;
|
|
5395
5390
|
|
|
5396
5391
|
|
|
5397
|
-
export type MultiGetObjectsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'Object', address: any, digest?: string | null, version: any, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: '
|
|
5392
|
+
export type MultiGetObjectsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'Object', address: any, digest?: string | null, version: any, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Immutable' } | { __typename: 'Parent', parent?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Shared', initialSharedVersion: any } | null }> } };
|
|
5398
5393
|
|
|
5399
|
-
export type Object_FieldsFragment = { __typename?: 'Object', address: any, digest?: string | null, version: any, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: '
|
|
5394
|
+
export type Object_FieldsFragment = { __typename?: 'Object', address: any, digest?: string | null, version: any, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Immutable' } | { __typename: 'Parent', parent?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Shared', initialSharedVersion: any } | null };
|
|
5400
5395
|
|
|
5401
|
-
export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: any, digest?: string | null, version: any, contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: '
|
|
5396
|
+
export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: any, digest?: string | null, version: any, contents?: { __typename?: 'MoveValue', bcs: any, type: { __typename?: 'MoveType', repr: string } } | null, owner?: { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null } | { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Immutable' } | { __typename: 'Parent', parent?: { __typename?: 'Owner', address: any } | null } | { __typename: 'Shared', initialSharedVersion: any } | null };
|
|
5402
5397
|
|
|
5403
5398
|
type Object_Owner_Fields_AddressOwner_Fragment = { __typename: 'AddressOwner', owner?: { __typename?: 'Owner', asObject?: { __typename?: 'Object', address: any } | null, asAddress?: { __typename?: 'Address', address: any } | null } | null };
|
|
5404
5399
|
|
|
5405
|
-
type
|
|
5400
|
+
type Object_Owner_Fields_ConsensusAddressOwner_Fragment = { __typename: 'ConsensusAddressOwner', startVersion: any, owner?: { __typename?: 'Owner', address: any } | null };
|
|
5406
5401
|
|
|
5407
5402
|
type Object_Owner_Fields_Immutable_Fragment = { __typename: 'Immutable' };
|
|
5408
5403
|
|
|
@@ -5410,7 +5405,7 @@ type Object_Owner_Fields_Parent_Fragment = { __typename: 'Parent', parent?: { __
|
|
|
5410
5405
|
|
|
5411
5406
|
type Object_Owner_Fields_Shared_Fragment = { __typename: 'Shared', initialSharedVersion: any };
|
|
5412
5407
|
|
|
5413
|
-
export type Object_Owner_FieldsFragment = Object_Owner_Fields_AddressOwner_Fragment |
|
|
5408
|
+
export type Object_Owner_FieldsFragment = Object_Owner_Fields_AddressOwner_Fragment | Object_Owner_Fields_ConsensusAddressOwner_Fragment | Object_Owner_Fields_Immutable_Fragment | Object_Owner_Fields_Parent_Fragment | Object_Owner_Fields_Shared_Fragment;
|
|
5414
5409
|
|
|
5415
5410
|
export type DryRunTransactionBlockQueryVariables = Exact<{
|
|
5416
5411
|
txBytes: Scalars['String']['input'];
|
|
@@ -5485,11 +5480,10 @@ export const Object_Owner_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
5485
5480
|
... on Shared {
|
|
5486
5481
|
initialSharedVersion
|
|
5487
5482
|
}
|
|
5488
|
-
... on
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
}
|
|
5483
|
+
... on ConsensusAddressOwner {
|
|
5484
|
+
startVersion
|
|
5485
|
+
owner {
|
|
5486
|
+
address
|
|
5493
5487
|
}
|
|
5494
5488
|
}
|
|
5495
5489
|
}
|
|
@@ -5531,11 +5525,10 @@ export const Object_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
5531
5525
|
... on Shared {
|
|
5532
5526
|
initialSharedVersion
|
|
5533
5527
|
}
|
|
5534
|
-
... on
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
}
|
|
5528
|
+
... on ConsensusAddressOwner {
|
|
5529
|
+
startVersion
|
|
5530
|
+
owner {
|
|
5531
|
+
address
|
|
5539
5532
|
}
|
|
5540
5533
|
}
|
|
5541
5534
|
}`, {"fragmentName":"OBJECT_FIELDS"}) as unknown as TypedDocumentString<Object_FieldsFragment, unknown>;
|
|
@@ -5574,11 +5567,10 @@ export const Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
5574
5567
|
... on Shared {
|
|
5575
5568
|
initialSharedVersion
|
|
5576
5569
|
}
|
|
5577
|
-
... on
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
}
|
|
5570
|
+
... on ConsensusAddressOwner {
|
|
5571
|
+
startVersion
|
|
5572
|
+
owner {
|
|
5573
|
+
address
|
|
5582
5574
|
}
|
|
5583
5575
|
}
|
|
5584
5576
|
}`, {"fragmentName":"MOVE_OBJECT_FIELDS"}) as unknown as TypedDocumentString<Move_Object_FieldsFragment, unknown>;
|
|
@@ -5717,11 +5709,10 @@ export const GetCoinsDocument = new TypedDocumentString(`
|
|
|
5717
5709
|
... on Shared {
|
|
5718
5710
|
initialSharedVersion
|
|
5719
5711
|
}
|
|
5720
|
-
... on
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
}
|
|
5712
|
+
... on ConsensusAddressOwner {
|
|
5713
|
+
startVersion
|
|
5714
|
+
owner {
|
|
5715
|
+
address
|
|
5725
5716
|
}
|
|
5726
5717
|
}
|
|
5727
5718
|
}`) as unknown as TypedDocumentString<GetCoinsQuery, GetCoinsQueryVariables>;
|
|
@@ -5830,11 +5821,10 @@ fragment OBJECT_OWNER_FIELDS on ObjectOwner {
|
|
|
5830
5821
|
... on Shared {
|
|
5831
5822
|
initialSharedVersion
|
|
5832
5823
|
}
|
|
5833
|
-
... on
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
}
|
|
5824
|
+
... on ConsensusAddressOwner {
|
|
5825
|
+
startVersion
|
|
5826
|
+
owner {
|
|
5827
|
+
address
|
|
5838
5828
|
}
|
|
5839
5829
|
}
|
|
5840
5830
|
}`) as unknown as TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
|
|
@@ -5886,11 +5876,10 @@ fragment OBJECT_OWNER_FIELDS on ObjectOwner {
|
|
|
5886
5876
|
... on Shared {
|
|
5887
5877
|
initialSharedVersion
|
|
5888
5878
|
}
|
|
5889
|
-
... on
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
}
|
|
5879
|
+
... on ConsensusAddressOwner {
|
|
5880
|
+
startVersion
|
|
5881
|
+
owner {
|
|
5882
|
+
address
|
|
5894
5883
|
}
|
|
5895
5884
|
}
|
|
5896
5885
|
}`) as unknown as TypedDocumentString<MultiGetObjectsQuery, MultiGetObjectsQueryVariables>;
|
|
@@ -79,11 +79,10 @@ fragment OBJECT_OWNER_FIELDS on ObjectOwner {
|
|
|
79
79
|
... on Shared {
|
|
80
80
|
initialSharedVersion
|
|
81
81
|
}
|
|
82
|
-
... on
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
82
|
+
... on ConsensusAddressOwner {
|
|
83
|
+
startVersion
|
|
84
|
+
owner {
|
|
85
|
+
address
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
}
|
|
@@ -25,13 +25,15 @@ type CompressedSignature =
|
|
|
25
25
|
| { ED25519: number[] }
|
|
26
26
|
| { Secp256k1: number[] }
|
|
27
27
|
| { Secp256r1: number[] }
|
|
28
|
-
| { ZkLogin: number[] }
|
|
28
|
+
| { ZkLogin: number[] }
|
|
29
|
+
| { Passkey: number[] };
|
|
29
30
|
|
|
30
31
|
type PublicKeyEnum =
|
|
31
32
|
| { ED25519: number[] }
|
|
32
33
|
| { Secp256k1: number[] }
|
|
33
34
|
| { Secp256r1: number[] }
|
|
34
|
-
| { ZkLogin: number[] }
|
|
35
|
+
| { ZkLogin: number[] }
|
|
36
|
+
| { Passkey: number[] };
|
|
35
37
|
|
|
36
38
|
type PubkeyEnumWeightPair = {
|
|
37
39
|
pubKey: PublicKeyEnum;
|
package/src/version.ts
CHANGED
package/src/zklogin/publickey.ts
CHANGED
|
@@ -19,9 +19,7 @@ import type { ClientWithExtensions, Experimental_SuiClientTypes } from '../exper
|
|
|
19
19
|
export interface ZkLoginCompatibleClient
|
|
20
20
|
extends ClientWithExtensions<{
|
|
21
21
|
core: {
|
|
22
|
-
verifyZkLoginSignature:
|
|
23
|
-
Experimental_SuiClientTypes.TransportMethods['verifyZkLoginSignature']
|
|
24
|
-
>;
|
|
22
|
+
verifyZkLoginSignature: Experimental_SuiClientTypes.TransportMethods['verifyZkLoginSignature'];
|
|
25
23
|
};
|
|
26
24
|
}> {}
|
|
27
25
|
|