@tari-project/tarijs 0.12.1 → 0.12.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/.github/workflows/lint.yml +19 -0
- package/README.md +4 -1
- package/docusaurus/tari-docs/package.json +1 -1
- package/eslint.config.mjs +23 -6
- package/examples/vite-typescript-react/eslint.config.js +13 -10
- package/examples/vite-typescript-react/index.html +1 -1
- package/examples/vite-typescript-react/package.json +5 -6
- package/examples/vite-typescript-react/public/tari-logo.svg +18 -0
- package/examples/vite-typescript-react/tsconfig.json +2 -4
- package/knip.ts +18 -0
- package/package.json +7 -5
- package/packages/builders/package.json +3 -2
- package/packages/builders/src/helpers/submitTransaction.ts +11 -10
- package/packages/builders/src/helpers/workspace.ts +2 -2
- package/packages/builders/src/transaction/TransactionBuilder.ts +12 -13
- package/packages/indexer_provider/package.json +3 -2
- package/packages/indexer_provider/src/provider.ts +6 -7
- package/packages/indexer_provider/src/transports/IndexerProviderClient.ts +1 -0
- package/packages/indexer_provider/src/transports/fetch.ts +2 -2
- package/packages/indexer_provider/src/transports/rpc.ts +1 -0
- package/packages/metamask_signer/package.json +3 -2
- package/packages/metamask_signer/src/index.ts +7 -7
- package/packages/metamask_signer/src/utils.ts +36 -45
- package/packages/permissions/package.json +3 -2
- package/packages/permissions/src/helpers.ts +0 -1
- package/packages/permissions/src/permissions.ts +6 -13
- package/packages/react-mui-connect-button/package.json +3 -4
- package/packages/react-mui-connect-button/src/Logos.tsx +77 -48
- package/packages/react-mui-connect-button/src/TariConnectButton.tsx +1 -2
- package/packages/react-mui-connect-button/src/TariWalletSelectionDialog.tsx +64 -28
- package/packages/react-mui-connect-button/src/index.ts +6 -3
- package/packages/tari_provider/package.json +3 -2
- package/packages/tari_signer/package.json +3 -2
- package/packages/tari_universe/package.json +3 -2
- package/packages/tari_universe/src/types.ts +1 -0
- package/packages/tarijs/package.json +3 -2
- package/packages/tarijs/src/index.ts +2 -20
- package/packages/tarijs/src/templates/TestFaucet.ts +7 -2
- package/packages/tarijs/test/integration-tests/wallet_daemon/json_rpc_provider.spec.ts +6 -9
- package/packages/tarijs_types/package.json +3 -2
- package/packages/tarijs_types/src/SubmitTransactionResponse.ts +3 -0
- package/packages/tarijs_types/src/TransactionArg.ts +1 -0
- package/packages/tarijs_types/src/consts.ts +1 -1
- package/packages/tarijs_types/src/helpers/hexString.ts +20 -19
- package/packages/tarijs_types/src/helpers/simpleResult.ts +23 -20
- package/packages/tarijs_types/src/helpers/txResult.ts +3 -4
- package/packages/tarijs_types/src/index.ts +9 -4
- package/packages/tarijs_types/src/signer.ts +3 -6
- package/packages/wallet_daemon/package.json +3 -2
- package/packages/wallet_daemon/src/provider.ts +14 -16
- package/packages/wallet_daemon/src/signer.ts +15 -17
- package/packages/wallet_daemon/src/webrtc.ts +18 -13
- package/packages/walletconnect/package.json +6 -6
- package/packages/walletconnect/src/index.ts +36 -22
- package/pnpm-workspace.yaml +8 -8
- package/tsconfig.json +1 -1
- package/typedoc.json +3 -2
- package/packages/react-mui-connect-button/src/defaultPermissions.ts +0 -0
- package/packages/tarijs_types/src/TransactionResult.ts +0 -16
package/pnpm-workspace.yaml
CHANGED
|
@@ -3,21 +3,21 @@ packages:
|
|
|
3
3
|
- apps/*
|
|
4
4
|
- docusaurus/*
|
|
5
5
|
- examples/*
|
|
6
|
-
-
|
|
6
|
+
- "!**/test/**"
|
|
7
7
|
|
|
8
8
|
catalog:
|
|
9
9
|
typescript: ^5.0.4
|
|
10
10
|
vitest: ^3.0.4
|
|
11
11
|
vite: ^6.1.0
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
"@types/node": ^22.13.1
|
|
13
|
+
"@tari-project/typescript-bindings": ">=1.14.0"
|
|
14
|
+
"@tari-project/wallet_jrpc_client": ^1.7.2
|
|
15
|
+
"@metamask/providers": ^18.2.0
|
|
16
|
+
"@walletconnect/universal-provider": 2.21.3
|
|
17
|
+
"@reown/appkit": "1.7.15"
|
|
18
18
|
|
|
19
19
|
onlyBuiltDependencies:
|
|
20
|
-
-
|
|
20
|
+
- "@moonrepo/cli"
|
|
21
21
|
- core-js
|
|
22
22
|
- core-js-pure
|
|
23
23
|
- esbuild
|
package/tsconfig.json
CHANGED
package/typedoc.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"entryPointStrategy": "packages",
|
|
3
|
+
"entryPoints": ["packages/*"],
|
|
3
4
|
"out": "tsdocs/api",
|
|
4
5
|
"tsconfig": "./tsconfig.json",
|
|
5
6
|
"excludePrivate": true,
|
|
@@ -7,4 +8,4 @@
|
|
|
7
8
|
"excludeExternals": true,
|
|
8
9
|
"plugin": ["typedoc-plugin-markdown"],
|
|
9
10
|
"includeVersion": true
|
|
10
|
-
}
|
|
11
|
+
}
|
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DownSubstates, UpSubstates } from "./SubstateDiff";
|
|
2
|
-
import { ComponentAddress, TransactionResult } from "@tari-project/typescript-bindings";
|
|
3
|
-
|
|
4
|
-
export type SubmitTransactionResponse = {
|
|
5
|
-
transaction_id: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export interface SubmitTxResult {
|
|
9
|
-
response: SubmitTransactionResponse;
|
|
10
|
-
result: TransactionResult;
|
|
11
|
-
upSubstates: UpSubstates;
|
|
12
|
-
downSubstates: DownSubstates;
|
|
13
|
-
newComponents: UpSubstates;
|
|
14
|
-
|
|
15
|
-
getComponentForTemplate(templateAddress: string): ComponentAddress | null;
|
|
16
|
-
}
|