@mysten/sui 1.37.1 → 1.37.3

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/client/index.d.ts +1 -1
  3. package/dist/cjs/client/index.js +0 -2
  4. package/dist/cjs/client/index.js.map +2 -2
  5. package/dist/cjs/client/types/index.d.ts +6 -6
  6. package/dist/cjs/client/types/index.js +0 -7
  7. package/dist/cjs/client/types/index.js.map +2 -2
  8. package/dist/cjs/graphql/schemas/2024.1/index.d.ts +1 -1
  9. package/dist/cjs/graphql/schemas/2024.1/index.js +0 -2
  10. package/dist/cjs/graphql/schemas/2024.1/index.js.map +2 -2
  11. package/dist/cjs/graphql/schemas/2024.4/index.d.ts +1 -1
  12. package/dist/cjs/graphql/schemas/2024.4/index.js +0 -2
  13. package/dist/cjs/graphql/schemas/2024.4/index.js.map +2 -2
  14. package/dist/cjs/graphql/schemas/latest/index.d.ts +1 -1
  15. package/dist/cjs/graphql/schemas/latest/index.js +0 -2
  16. package/dist/cjs/graphql/schemas/latest/index.js.map +2 -2
  17. package/dist/cjs/transactions/Arguments.d.ts +6 -2
  18. package/dist/cjs/transactions/object.d.ts +6 -2
  19. package/dist/cjs/transactions/object.js +53 -4
  20. package/dist/cjs/transactions/object.js.map +2 -2
  21. package/dist/cjs/version.d.ts +2 -2
  22. package/dist/cjs/version.js +2 -2
  23. package/dist/cjs/version.js.map +1 -1
  24. package/dist/esm/client/index.d.ts +1 -1
  25. package/dist/esm/client/index.js +0 -1
  26. package/dist/esm/client/index.js.map +2 -2
  27. package/dist/esm/client/types/index.d.ts +6 -6
  28. package/dist/esm/client/types/index.js +0 -6
  29. package/dist/esm/client/types/index.js.map +3 -3
  30. package/dist/esm/graphql/schemas/2024.1/index.d.ts +1 -1
  31. package/dist/esm/graphql/schemas/2024.1/index.js +0 -1
  32. package/dist/esm/graphql/schemas/2024.1/index.js.map +2 -2
  33. package/dist/esm/graphql/schemas/2024.4/index.d.ts +1 -1
  34. package/dist/esm/graphql/schemas/2024.4/index.js +0 -1
  35. package/dist/esm/graphql/schemas/2024.4/index.js.map +2 -2
  36. package/dist/esm/graphql/schemas/latest/index.d.ts +1 -1
  37. package/dist/esm/graphql/schemas/latest/index.js +0 -1
  38. package/dist/esm/graphql/schemas/latest/index.js.map +2 -2
  39. package/dist/esm/transactions/Arguments.d.ts +6 -2
  40. package/dist/esm/transactions/object.d.ts +6 -2
  41. package/dist/esm/transactions/object.js +53 -4
  42. package/dist/esm/transactions/object.js.map +2 -2
  43. package/dist/esm/version.d.ts +2 -2
  44. package/dist/esm/version.js +2 -2
  45. package/dist/esm/version.js.map +1 -1
  46. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  47. package/dist/tsconfig.tsbuildinfo +1 -1
  48. package/package.json +1 -1
  49. package/src/client/index.ts +1 -1
  50. package/src/client/types/index.ts +6 -6
  51. package/src/graphql/schemas/2024.1/index.ts +1 -1
  52. package/src/graphql/schemas/2024.4/index.ts +1 -1
  53. package/src/graphql/schemas/latest/index.ts +1 -1
  54. package/src/transactions/object.ts +59 -4
  55. package/src/version.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @mysten/sui.js
2
2
 
3
+ ## 1.37.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ff1471: Fix system objects to avoid unnecessary network calls
8
+ - Clock (0x6) and Random (0x8) now return fully resolved SharedObject references with mutable:
9
+ false
10
+ - System (0x5) and DenyList (0x403) now accept optional `mutable` parameter:
11
+ - When undefined, returns UnresolvedObject with initialSharedVersion for backward compatibility
12
+ - When explicitly set, returns SharedObjectRef with the specified mutability
13
+ - Improves transaction building performance by avoiding unnecessary network lookups
14
+
15
+ Fixes #424
16
+
17
+ ## 1.37.2
18
+
19
+ ### Patch Changes
20
+
21
+ - 660377c: Mark type-only exports as being type-only so that bundlers do not attempt to bundle empty
22
+ files.
23
+
3
24
  ## 1.37.1
4
25
 
5
26
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  export { type SuiTransport, type SuiTransportRequestOptions, type SuiTransportSubscribeOptions, type HttpHeaders, type SuiHTTPTransportOptions, SuiHTTPTransport, } from './http-transport.js';
2
2
  export { getFullnodeUrl } from './network.js';
3
- export * from './types/index.js';
3
+ export type * from './types/index.js';
4
4
  export { type SuiClientOptions, type PaginationArguments, type OrderArguments, isSuiClient, SuiClient, } from './client.js';
5
5
  export { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var client_exports = {};
21
20
  __export(client_exports, {
@@ -30,7 +29,6 @@ __export(client_exports, {
30
29
  module.exports = __toCommonJS(client_exports);
31
30
  var import_http_transport = require("./http-transport.js");
32
31
  var import_network = require("./network.js");
33
- __reExport(client_exports, require("./types/index.js"), module.exports);
34
32
  var import_client = require("./client.js");
35
33
  var import_errors = require("./errors.js");
36
34
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/client/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n\ttype SuiTransport,\n\ttype SuiTransportRequestOptions,\n\ttype SuiTransportSubscribeOptions,\n\ttype HttpHeaders,\n\ttype SuiHTTPTransportOptions,\n\tSuiHTTPTransport,\n} from './http-transport.js';\nexport { getFullnodeUrl } from './network.js';\nexport * from './types/index.js';\nexport {\n\ttype SuiClientOptions,\n\ttype PaginationArguments,\n\ttype OrderArguments,\n\tisSuiClient,\n\tSuiClient,\n} from './client.js';\nexport { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,4BAOO;AACP,qBAA+B;AAC/B,2BAAc,6BAZd;AAaA,oBAMO;AACP,oBAAwE;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n\ttype SuiTransport,\n\ttype SuiTransportRequestOptions,\n\ttype SuiTransportSubscribeOptions,\n\ttype HttpHeaders,\n\ttype SuiHTTPTransportOptions,\n\tSuiHTTPTransport,\n} from './http-transport.js';\nexport { getFullnodeUrl } from './network.js';\nexport type * from './types/index.js';\nexport {\n\ttype SuiClientOptions,\n\ttype PaginationArguments,\n\ttype OrderArguments,\n\tisSuiClient,\n\tSuiClient,\n} from './client.js';\nexport { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,4BAOO;AACP,qBAA+B;AAE/B,oBAMO;AACP,oBAAwE;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- export * from './chain.js';
2
- export * from './coins.js';
3
- export * from './common.js';
4
- export * from './changes.js';
5
- export * from './generated.js';
6
- export * from './params.js';
1
+ export type * from './chain.js';
2
+ export type * from './coins.js';
3
+ export type * from './common.js';
4
+ export type * from './changes.js';
5
+ export type * from './generated.js';
6
+ export type * from './params.js';
@@ -11,14 +11,7 @@ var __copyProps = (to, from, except, desc) => {
11
11
  }
12
12
  return to;
13
13
  };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
14
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
15
  var types_exports = {};
17
16
  module.exports = __toCommonJS(types_exports);
18
- __reExport(types_exports, require("./chain.js"), module.exports);
19
- __reExport(types_exports, require("./coins.js"), module.exports);
20
- __reExport(types_exports, require("./common.js"), module.exports);
21
- __reExport(types_exports, require("./changes.js"), module.exports);
22
- __reExport(types_exports, require("./generated.js"), module.exports);
23
- __reExport(types_exports, require("./params.js"), module.exports);
24
17
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/client/types/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport * from './chain.js';\nexport * from './coins.js';\nexport * from './common.js';\nexport * from './changes.js';\nexport * from './generated.js';\nexport * from './params.js';\n"],
5
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAGA,0BAAc,uBAHd;AAIA,0BAAc,uBAJd;AAKA,0BAAc,wBALd;AAMA,0BAAc,yBANd;AAOA,0BAAc,2BAPd;AAQA,0BAAc,wBARd;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport type * from './chain.js';\nexport type * from './coins.js';\nexport type * from './common.js';\nexport type * from './changes.js';\nexport type * from './generated.js';\nexport type * from './params.js';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/2024.1/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var __exports = {};
21
20
  __export(__exports, {
@@ -25,7 +24,6 @@ __export(__exports, {
25
24
  });
26
25
  module.exports = __toCommonJS(__exports);
27
26
  var import_gql = require("gql.tada");
28
- __reExport(__exports, require("../../types.js"), module.exports);
29
27
  var import_gql2 = require("gql.tada");
30
28
  const graphql = (0, import_gql.initGraphQLTada)();
31
29
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/2024.1/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.1/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAKhC,sBAAc,2BARd;AAWA,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.1/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAQhC,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
6
6
  "names": ["import_gql"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/2024.4/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var __exports = {};
21
20
  __export(__exports, {
@@ -25,7 +24,6 @@ __export(__exports, {
25
24
  });
26
25
  module.exports = __toCommonJS(__exports);
27
26
  var import_gql = require("gql.tada");
28
- __reExport(__exports, require("../../types.js"), module.exports);
29
27
  var import_gql2 = require("gql.tada");
30
28
  const graphql = (0, import_gql.initGraphQLTada)();
31
29
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/2024.4/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.4/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAKhC,sBAAc,2BARd;AAWA,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.4/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAQhC,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
6
6
  "names": ["import_gql"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/latest/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var latest_exports = {};
21
20
  __export(latest_exports, {
@@ -25,7 +24,6 @@ __export(latest_exports, {
25
24
  });
26
25
  module.exports = __toCommonJS(latest_exports);
27
26
  var import_gql = require("gql.tada");
28
- __reExport(latest_exports, require("../../types.js"), module.exports);
29
27
  var import_gql2 = require("gql.tada");
30
28
  const graphql = (0, import_gql.initGraphQLTada)();
31
29
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/latest/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/latest/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAKhC,2BAAc,2BARd;AAWA,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/latest/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAgC;AAQhC,IAAAA,cAA4C;AAErC,MAAM,cAAU,4BAGpB;",
6
6
  "names": ["import_gql"]
7
7
  }
@@ -6,10 +6,14 @@ export declare const Arguments: {
6
6
  pure: ReturnType<typeof createPure<(tx: Transaction) => Argument>>;
7
7
  object: {
8
8
  (value: import("./Transaction.js").TransactionObjectInput): TransactionObjectArgument;
9
- system(): TransactionObjectArgument;
9
+ system(options?: {
10
+ mutable?: boolean;
11
+ } | undefined): TransactionObjectArgument;
10
12
  clock(): TransactionObjectArgument;
11
13
  random(): TransactionObjectArgument;
12
- denyList(): TransactionObjectArgument;
14
+ denyList(options?: {
15
+ mutable?: boolean;
16
+ } | undefined): TransactionObjectArgument;
13
17
  option({ type, value }: {
14
18
  type: string;
15
19
  value: import("./Transaction.js").TransactionObjectInput | null;
@@ -1,10 +1,14 @@
1
1
  import type { Transaction, TransactionObjectInput } from './Transaction.js';
2
2
  export declare function createObjectMethods<T>(makeObject: (value: TransactionObjectInput) => T): {
3
3
  (value: TransactionObjectInput): T;
4
- system(): T;
4
+ system(options?: {
5
+ mutable?: boolean;
6
+ }): T;
5
7
  clock(): T;
6
8
  random(): T;
7
- denyList(): T;
9
+ denyList(options?: {
10
+ mutable?: boolean;
11
+ }): T;
8
12
  option({ type, value }: {
9
13
  type: string;
10
14
  value: TransactionObjectInput | null;
@@ -21,14 +21,63 @@ __export(object_exports, {
21
21
  createObjectMethods: () => createObjectMethods
22
22
  });
23
23
  module.exports = __toCommonJS(object_exports);
24
+ var import_Inputs = require("./Inputs.js");
24
25
  function createObjectMethods(makeObject) {
25
26
  function object(value) {
26
27
  return makeObject(value);
27
28
  }
28
- object.system = () => object("0x5");
29
- object.clock = () => object("0x6");
30
- object.random = () => object("0x8");
31
- object.denyList = () => object("0x403");
29
+ object.system = (options) => {
30
+ const mutable = options?.mutable;
31
+ if (mutable !== void 0) {
32
+ return object(
33
+ import_Inputs.Inputs.SharedObjectRef({
34
+ objectId: "0x5",
35
+ initialSharedVersion: 1,
36
+ mutable
37
+ })
38
+ );
39
+ }
40
+ return object({
41
+ $kind: "UnresolvedObject",
42
+ UnresolvedObject: {
43
+ objectId: "0x5",
44
+ initialSharedVersion: 1
45
+ }
46
+ });
47
+ };
48
+ object.clock = () => object(
49
+ import_Inputs.Inputs.SharedObjectRef({
50
+ objectId: "0x6",
51
+ initialSharedVersion: 1,
52
+ mutable: false
53
+ })
54
+ );
55
+ object.random = () => object(
56
+ import_Inputs.Inputs.SharedObjectRef({
57
+ objectId: "0x8",
58
+ initialSharedVersion: 1,
59
+ mutable: false
60
+ })
61
+ );
62
+ object.denyList = (options) => {
63
+ const mutable = options?.mutable;
64
+ if (mutable !== void 0) {
65
+ return object(
66
+ import_Inputs.Inputs.SharedObjectRef({
67
+ objectId: "0x403",
68
+ initialSharedVersion: 1,
69
+ mutable
70
+ })
71
+ );
72
+ }
73
+ return object({
74
+ $kind: "UnresolvedObject",
75
+ UnresolvedObject: {
76
+ objectId: "0x403",
77
+ initialSharedVersion: 1
78
+ }
79
+ });
80
+ };
32
81
  object.option = ({ type, value }) => (tx) => tx.moveCall({
33
82
  typeArguments: [type],
34
83
  target: `0x1::option::${value === null ? "none" : "some"}`,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/transactions/object.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Transaction, TransactionObjectInput } from './Transaction.js';\n\nexport function createObjectMethods<T>(makeObject: (value: TransactionObjectInput) => T) {\n\tfunction object(value: TransactionObjectInput) {\n\t\treturn makeObject(value);\n\t}\n\n\tobject.system = () => object('0x5');\n\tobject.clock = () => object('0x6');\n\tobject.random = () => object('0x8');\n\tobject.denyList = () => object('0x403');\n\tobject.option =\n\t\t({ type, value }: { type: string; value: TransactionObjectInput | null }) =>\n\t\t(tx: Transaction) =>\n\t\t\ttx.moveCall({\n\t\t\t\ttypeArguments: [type],\n\t\t\t\ttarget: `0x1::option::${value === null ? 'none' : 'some'}`,\n\t\t\t\targuments: value === null ? [] : [tx.object(value)],\n\t\t\t});\n\n\treturn object;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,SAAS,oBAAuB,YAAkD;AACxF,WAAS,OAAO,OAA+B;AAC9C,WAAO,WAAW,KAAK;AAAA,EACxB;AAEA,SAAO,SAAS,MAAM,OAAO,KAAK;AAClC,SAAO,QAAQ,MAAM,OAAO,KAAK;AACjC,SAAO,SAAS,MAAM,OAAO,KAAK;AAClC,SAAO,WAAW,MAAM,OAAO,OAAO;AACtC,SAAO,SACN,CAAC,EAAE,MAAM,MAAM,MACf,CAAC,OACA,GAAG,SAAS;AAAA,IACX,eAAe,CAAC,IAAI;AAAA,IACpB,QAAQ,gBAAgB,UAAU,OAAO,SAAS,MAAM;AAAA,IACxD,WAAW,UAAU,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,KAAK,CAAC;AAAA,EACnD,CAAC;AAEH,SAAO;AACR;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Transaction, TransactionObjectInput } from './Transaction.js';\nimport { Inputs } from './Inputs.js';\n\nexport function createObjectMethods<T>(makeObject: (value: TransactionObjectInput) => T) {\n\tfunction object(value: TransactionObjectInput) {\n\t\treturn makeObject(value);\n\t}\n\n\tobject.system = (options?: { mutable?: boolean }) => {\n\t\tconst mutable = options?.mutable;\n\n\t\tif (mutable !== undefined) {\n\t\t\treturn object(\n\t\t\t\tInputs.SharedObjectRef({\n\t\t\t\t\tobjectId: '0x5',\n\t\t\t\t\tinitialSharedVersion: 1,\n\t\t\t\t\tmutable,\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\n\t\treturn object({\n\t\t\t$kind: 'UnresolvedObject',\n\t\t\tUnresolvedObject: {\n\t\t\t\tobjectId: '0x5',\n\t\t\t\tinitialSharedVersion: 1,\n\t\t\t},\n\t\t});\n\t};\n\tobject.clock = () =>\n\t\tobject(\n\t\t\tInputs.SharedObjectRef({\n\t\t\t\tobjectId: '0x6',\n\t\t\t\tinitialSharedVersion: 1,\n\t\t\t\tmutable: false,\n\t\t\t}),\n\t\t);\n\tobject.random = () =>\n\t\tobject(\n\t\t\tInputs.SharedObjectRef({\n\t\t\t\tobjectId: '0x8',\n\t\t\t\tinitialSharedVersion: 1,\n\t\t\t\tmutable: false,\n\t\t\t}),\n\t\t);\n\tobject.denyList = (options?: { mutable?: boolean }) => {\n\t\tconst mutable = options?.mutable;\n\n\t\tif (mutable !== undefined) {\n\t\t\treturn object(\n\t\t\t\tInputs.SharedObjectRef({\n\t\t\t\t\tobjectId: '0x403',\n\t\t\t\t\tinitialSharedVersion: 1,\n\t\t\t\t\tmutable,\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\n\t\treturn object({\n\t\t\t$kind: 'UnresolvedObject',\n\t\t\tUnresolvedObject: {\n\t\t\t\tobjectId: '0x403',\n\t\t\t\tinitialSharedVersion: 1,\n\t\t\t},\n\t\t});\n\t};\n\tobject.option =\n\t\t({ type, value }: { type: string; value: TransactionObjectInput | null }) =>\n\t\t(tx: Transaction) =>\n\t\t\ttx.moveCall({\n\t\t\t\ttypeArguments: [type],\n\t\t\t\ttarget: `0x1::option::${value === null ? 'none' : 'some'}`,\n\t\t\t\targuments: value === null ? [] : [tx.object(value)],\n\t\t\t});\n\n\treturn object;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,oBAAuB;AAEhB,SAAS,oBAAuB,YAAkD;AACxF,WAAS,OAAO,OAA+B;AAC9C,WAAO,WAAW,KAAK;AAAA,EACxB;AAEA,SAAO,SAAS,CAAC,YAAoC;AACpD,UAAM,UAAU,SAAS;AAEzB,QAAI,YAAY,QAAW;AAC1B,aAAO;AAAA,QACN,qBAAO,gBAAgB;AAAA,UACtB,UAAU;AAAA,UACV,sBAAsB;AAAA,UACtB;AAAA,QACD,CAAC;AAAA,MACF;AAAA,IACD;AAEA,WAAO,OAAO;AAAA,MACb,OAAO;AAAA,MACP,kBAAkB;AAAA,QACjB,UAAU;AAAA,QACV,sBAAsB;AAAA,MACvB;AAAA,IACD,CAAC;AAAA,EACF;AACA,SAAO,QAAQ,MACd;AAAA,IACC,qBAAO,gBAAgB;AAAA,MACtB,UAAU;AAAA,MACV,sBAAsB;AAAA,MACtB,SAAS;AAAA,IACV,CAAC;AAAA,EACF;AACD,SAAO,SAAS,MACf;AAAA,IACC,qBAAO,gBAAgB;AAAA,MACtB,UAAU;AAAA,MACV,sBAAsB;AAAA,MACtB,SAAS;AAAA,IACV,CAAC;AAAA,EACF;AACD,SAAO,WAAW,CAAC,YAAoC;AACtD,UAAM,UAAU,SAAS;AAEzB,QAAI,YAAY,QAAW;AAC1B,aAAO;AAAA,QACN,qBAAO,gBAAgB;AAAA,UACtB,UAAU;AAAA,UACV,sBAAsB;AAAA,UACtB;AAAA,QACD,CAAC;AAAA,MACF;AAAA,IACD;AAEA,WAAO,OAAO;AAAA,MACb,OAAO;AAAA,MACP,kBAAkB;AAAA,QACjB,UAAU;AAAA,QACV,sBAAsB;AAAA,MACvB;AAAA,IACD,CAAC;AAAA,EACF;AACA,SAAO,SACN,CAAC,EAAE,MAAM,MAAM,MACf,CAAC,OACA,GAAG,SAAS;AAAA,IACX,eAAe,CAAC,IAAI;AAAA,IACpB,QAAQ,gBAAgB,UAAU,OAAO,SAAS,MAAM;AAAA,IACxD,WAAW,UAAU,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,KAAK,CAAC;AAAA,EACnD,CAAC;AAEH,SAAO;AACR;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- export declare const PACKAGE_VERSION = "1.37.1";
2
- export declare const TARGETED_RPC_VERSION = "1.54.0";
1
+ export declare const PACKAGE_VERSION = "1.37.3";
2
+ export declare const TARGETED_RPC_VERSION = "1.55.0";
@@ -22,6 +22,6 @@ __export(version_exports, {
22
22
  TARGETED_RPC_VERSION: () => TARGETED_RPC_VERSION
23
23
  });
24
24
  module.exports = __toCommonJS(version_exports);
25
- const PACKAGE_VERSION = "1.37.1";
26
- const TARGETED_RPC_VERSION = "1.54.0";
25
+ const PACKAGE_VERSION = "1.37.3";
26
+ const TARGETED_RPC_VERSION = "1.55.0";
27
27
  //# sourceMappingURL=version.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/version.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.37.1';\nexport const TARGETED_RPC_VERSION = '1.54.0';\n"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.37.3';\nexport const TARGETED_RPC_VERSION = '1.55.0';\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  export { type SuiTransport, type SuiTransportRequestOptions, type SuiTransportSubscribeOptions, type HttpHeaders, type SuiHTTPTransportOptions, SuiHTTPTransport, } from './http-transport.js';
2
2
  export { getFullnodeUrl } from './network.js';
3
- export * from './types/index.js';
3
+ export type * from './types/index.js';
4
4
  export { type SuiClientOptions, type PaginationArguments, type OrderArguments, isSuiClient, SuiClient, } from './client.js';
5
5
  export { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';
@@ -2,7 +2,6 @@ import {
2
2
  SuiHTTPTransport
3
3
  } from "./http-transport.js";
4
4
  import { getFullnodeUrl } from "./network.js";
5
- export * from "./types/index.js";
6
5
  import {
7
6
  isSuiClient,
8
7
  SuiClient
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/client/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n\ttype SuiTransport,\n\ttype SuiTransportRequestOptions,\n\ttype SuiTransportSubscribeOptions,\n\ttype HttpHeaders,\n\ttype SuiHTTPTransportOptions,\n\tSuiHTTPTransport,\n} from './http-transport.js';\nexport { getFullnodeUrl } from './network.js';\nexport * from './types/index.js';\nexport {\n\ttype SuiClientOptions,\n\ttype PaginationArguments,\n\ttype OrderArguments,\n\tisSuiClient,\n\tSuiClient,\n} from './client.js';\nexport { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';\n"],
5
- "mappings": "AAGA;AAAA,EAMC;AAAA,OACM;AACP,SAAS,sBAAsB;AAC/B,cAAc;AACd;AAAA,EAIC;AAAA,EACA;AAAA,OACM;AACP,SAAS,oBAAoB,uBAAuB,oBAAoB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n\ttype SuiTransport,\n\ttype SuiTransportRequestOptions,\n\ttype SuiTransportSubscribeOptions,\n\ttype HttpHeaders,\n\ttype SuiHTTPTransportOptions,\n\tSuiHTTPTransport,\n} from './http-transport.js';\nexport { getFullnodeUrl } from './network.js';\nexport type * from './types/index.js';\nexport {\n\ttype SuiClientOptions,\n\ttype PaginationArguments,\n\ttype OrderArguments,\n\tisSuiClient,\n\tSuiClient,\n} from './client.js';\nexport { SuiHTTPStatusError, SuiHTTPTransportError, JsonRpcError } from './errors.js';\n"],
5
+ "mappings": "AAGA;AAAA,EAMC;AAAA,OACM;AACP,SAAS,sBAAsB;AAE/B;AAAA,EAIC;AAAA,EACA;AAAA,OACM;AACP,SAAS,oBAAoB,uBAAuB,oBAAoB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- export * from './chain.js';
2
- export * from './coins.js';
3
- export * from './common.js';
4
- export * from './changes.js';
5
- export * from './generated.js';
6
- export * from './params.js';
1
+ export type * from './chain.js';
2
+ export type * from './coins.js';
3
+ export type * from './common.js';
4
+ export type * from './changes.js';
5
+ export type * from './generated.js';
6
+ export type * from './params.js';
@@ -1,7 +1 @@
1
- export * from "./chain.js";
2
- export * from "./coins.js";
3
- export * from "./common.js";
4
- export * from "./changes.js";
5
- export * from "./generated.js";
6
- export * from "./params.js";
7
1
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/client/types/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport * from './chain.js';\nexport * from './coins.js';\nexport * from './common.js';\nexport * from './changes.js';\nexport * from './generated.js';\nexport * from './params.js';\n"],
5
- "mappings": "AAGA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/2024.1/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -1,5 +1,4 @@
1
1
  import { initGraphQLTada } from "gql.tada";
2
- export * from "../../types.js";
3
2
  import { readFragment, maskFragments } from "gql.tada";
4
3
  const graphql = initGraphQLTada();
5
4
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/2024.1/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.1/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": "AAGA,SAAS,uBAAuB;AAKhC,cAAc;AAGd,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.1/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": "AAGA,SAAS,uBAAuB;AAQhC,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/2024.4/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -1,5 +1,4 @@
1
1
  import { initGraphQLTada } from "gql.tada";
2
- export * from "../../types.js";
3
2
  import { readFragment, maskFragments } from "gql.tada";
4
3
  const graphql = initGraphQLTada();
5
4
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/2024.4/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.4/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": "AAGA,SAAS,uBAAuB;AAKhC,cAAc;AAGd,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/2024.4/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": "AAGA,SAAS,uBAAuB;AAQhC,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { initGraphQLTada } from 'gql.tada';
2
2
  import type { introspection } from '../../generated/latest/tada-env.js';
3
3
  import type { CustomScalars } from '../../types.js';
4
- export * from '../../types.js';
4
+ export type * from '../../types.js';
5
5
  export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
6
6
  export { readFragment, maskFragments } from 'gql.tada';
7
7
  export declare const graphql: initGraphQLTada<{
@@ -1,5 +1,4 @@
1
1
  import { initGraphQLTada } from "gql.tada";
2
- export * from "../../types.js";
3
2
  import { readFragment, maskFragments } from "gql.tada";
4
3
  const graphql = initGraphQLTada();
5
4
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/graphql/schemas/latest/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/latest/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
- "mappings": "AAGA,SAAS,uBAAuB;AAKhC,cAAc;AAGd,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { initGraphQLTada } from 'gql.tada';\n\nimport type { introspection } from '../../generated/latest/tada-env.js';\nimport type { CustomScalars } from '../../types.js';\n\nexport type * from '../../types.js';\n\nexport type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';\nexport { readFragment, maskFragments } from 'gql.tada';\n\nexport const graphql = initGraphQLTada<{\n\tintrospection: typeof introspection;\n\tscalars: CustomScalars;\n}>();\n"],
5
+ "mappings": "AAGA,SAAS,uBAAuB;AAQhC,SAAS,cAAc,qBAAqB;AAErC,MAAM,UAAU,gBAGpB;",
6
6
  "names": []
7
7
  }
@@ -6,10 +6,14 @@ export declare const Arguments: {
6
6
  pure: ReturnType<typeof createPure<(tx: Transaction) => Argument>>;
7
7
  object: {
8
8
  (value: import("./Transaction.js").TransactionObjectInput): TransactionObjectArgument;
9
- system(): TransactionObjectArgument;
9
+ system(options?: {
10
+ mutable?: boolean;
11
+ } | undefined): TransactionObjectArgument;
10
12
  clock(): TransactionObjectArgument;
11
13
  random(): TransactionObjectArgument;
12
- denyList(): TransactionObjectArgument;
14
+ denyList(options?: {
15
+ mutable?: boolean;
16
+ } | undefined): TransactionObjectArgument;
13
17
  option({ type, value }: {
14
18
  type: string;
15
19
  value: import("./Transaction.js").TransactionObjectInput | null;
@@ -1,10 +1,14 @@
1
1
  import type { Transaction, TransactionObjectInput } from './Transaction.js';
2
2
  export declare function createObjectMethods<T>(makeObject: (value: TransactionObjectInput) => T): {
3
3
  (value: TransactionObjectInput): T;
4
- system(): T;
4
+ system(options?: {
5
+ mutable?: boolean;
6
+ }): T;
5
7
  clock(): T;
6
8
  random(): T;
7
- denyList(): T;
9
+ denyList(options?: {
10
+ mutable?: boolean;
11
+ }): T;
8
12
  option({ type, value }: {
9
13
  type: string;
10
14
  value: TransactionObjectInput | null;