@mysten/sui.js
Advanced tools
Comparing version 0.0.0-experimental-20240312060054 to 0.0.0-experimental-20240328191114
# @mysten/sui.js | ||
## 0.0.0-experimental-20240312060054 | ||
## 0.0.0-experimental-20240328191114 | ||
### Patch Changes | ||
- 6984dd1e38: Update gql.tada and add type definitions for custom scalars | ||
## 0.51.0 | ||
### Minor Changes | ||
@@ -6,0 +12,0 @@ |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240312060054"; | ||
export declare const TARGETED_RPC_VERSION = "1.21.0"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240328191114"; | ||
export declare const TARGETED_RPC_VERSION = "1.22.0"; |
@@ -25,4 +25,4 @@ "use strict"; | ||
module.exports = __toCommonJS(version_exports); | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240312060054"; | ||
const TARGETED_RPC_VERSION = "1.21.0"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240328191114"; | ||
const TARGETED_RPC_VERSION = "1.22.0"; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240312060054"; | ||
export declare const TARGETED_RPC_VERSION = "1.21.0"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240328191114"; | ||
export declare const TARGETED_RPC_VERSION = "1.22.0"; |
@@ -1,3 +0,3 @@ | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240312060054"; | ||
const TARGETED_RPC_VERSION = "1.21.0"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240328191114"; | ||
const TARGETED_RPC_VERSION = "1.22.0"; | ||
export { | ||
@@ -4,0 +4,0 @@ PACKAGE_VERSION, |
@@ -6,3 +6,3 @@ { | ||
"homepage": "https://sdk.mystenlabs.com", | ||
"version": "0.0.0-experimental-20240312060054", | ||
"version": "0.0.0-experimental-20240328191114", | ||
"license": "Apache-2.0", | ||
@@ -98,3 +98,3 @@ "sideEffects": false, | ||
"devDependencies": { | ||
"@0no-co/graphqlsp": "^1.3.2", | ||
"@0no-co/graphqlsp": "^1.7.1", | ||
"@graphql-codegen/add": "^5.0.2", | ||
@@ -114,3 +114,2 @@ "@graphql-codegen/cli": "^5.0.2", | ||
"ts-retry-promise": "^0.7.0", | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.3.3", | ||
@@ -131,3 +130,3 @@ "vite": "^4.4.4", | ||
"bech32": "^2.0.0", | ||
"gql.tada": "^1.2.0", | ||
"gql.tada": "^1.4.1", | ||
"graphql": "^16.8.1", | ||
@@ -143,3 +142,2 @@ "superstruct": "^1.0.3", | ||
"build:package": "build-package", | ||
"doc": "typedoc", | ||
"vitest": "vitest", | ||
@@ -146,0 +144,0 @@ "test": "pnpm test:typecheck && pnpm test:unit", |
@@ -8,4 +8,87 @@ // Copyright (c) Mysten Labs, Inc. | ||
export type MoveData = | ||
| { Address: string } | ||
| { UID: string } | ||
| { ID: string } | ||
| { Bool: boolean } | ||
| { Number: string } | ||
| { String: string } | ||
| { Vector: [MoveData] } | ||
| { Option: MoveData | null } | ||
| { Struct: [{ name: string; value: MoveData }] }; | ||
export type MoveTypeLayout = | ||
| 'address' | ||
| 'bool' | ||
| 'u8' | ||
| 'u16' | ||
| 'u32' | ||
| 'u64' | ||
| 'u128' | ||
| 'u256' | ||
| { vector: MoveTypeLayout } | ||
| { | ||
struct: { | ||
type: string; | ||
fields: [{ name: string; layout: MoveTypeLayout }]; | ||
}; | ||
}; | ||
export type MoveTypeSignature = | ||
| 'address' | ||
| 'bool' | ||
| 'u8' | ||
| 'u16' | ||
| 'u32' | ||
| 'u64' | ||
| 'u128' | ||
| 'u256' | ||
| { vector: MoveTypeSignature } | ||
| { | ||
datatype: { | ||
package: string; | ||
module: string; | ||
type: string; | ||
typeParameters: [MoveTypeSignature]; | ||
}; | ||
}; | ||
export type OpenMoveTypeSignature = { | ||
ref?: ('&' | '&mut') | null; | ||
body: OpenMoveTypeSignatureBody; | ||
}; | ||
export type OpenMoveTypeSignatureBody = | ||
| 'address' | ||
| 'bool' | ||
| 'u8' | ||
| 'u16' | ||
| 'u32' | ||
| 'u64' | ||
| 'u128' | ||
| 'u256' | ||
| { vector: OpenMoveTypeSignatureBody } | ||
| { | ||
datatype: { | ||
package: string; | ||
module: string; | ||
type: string; | ||
typeParameters: [OpenMoveTypeSignatureBody]; | ||
}; | ||
} | ||
| { typeParameter: number }; | ||
export const graphql = initGraphQLTada<{ | ||
introspection: introspection; | ||
scalars: { | ||
BigInt: string; | ||
Base64: string; | ||
DateTime: string; | ||
JSON: unknown; | ||
MoveData: MoveData; | ||
MoveTypeLayout: MoveTypeLayout; | ||
MoveTypeSignature: MoveTypeSignature; | ||
OpenMoveTypeSignature: OpenMoveTypeSignature; | ||
SuiAddress: string; | ||
}; | ||
}>(); | ||
@@ -12,0 +95,0 @@ |
@@ -6,3 +6,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240312060054'; | ||
export const TARGETED_RPC_VERSION = '1.21.0'; | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240328191114'; | ||
export const TARGETED_RPC_VERSION = '1.22.0'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3500867
21
69558
Updatedgql.tada@^1.4.1