@tari-project/tarijs 0.12.0 → 0.12.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tari-docs",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "docusaurus": "docusaurus",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tarijs",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -20,7 +20,7 @@
20
20
  "typescript-eslint": "^8.35.0"
21
21
  },
22
22
  "dependencies": {
23
- "@tari-project/tarijs-types": "^0.12.0"
23
+ "@tari-project/tarijs-types": "^0.12.1"
24
24
  },
25
25
  "scripts": {
26
26
  "docs": "typedoc"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tarijs-builders",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/indexer-provider",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/metamask-signer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tari-permissions",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/react-mui-connect-button",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "React component to connect your website to the Tari Ootle Wallet",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tari-provider",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tari-signer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tari-universe-signer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tarijs-all",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -164,7 +164,7 @@ describe("WalletDaemonTariSigner", () => {
164
164
  const account = await signer.getAccount();
165
165
  const nextKey = await signer.newTransactionKey();
166
166
 
167
- const fee = Amount.new(2000);
167
+ const fee = Amount.of(2000);
168
168
  const transaction1 = TransactionBuilder
169
169
  .new(Network.LocalNet)
170
170
  .feeTransactionPayFromComponent(account.address, fee)
@@ -353,7 +353,7 @@ describe("WalletDaemonTariSigner", () => {
353
353
  const signer = await buildSigner();
354
354
  const account = await signer.getAccount();
355
355
 
356
- const fee = Amount.new(2000);
356
+ const fee = Amount.of(2000);
357
357
  const transaction = TransactionBuilder.new(Network.LocalNet)
358
358
  .feeTransactionPayFromComponent(account.address, fee)
359
359
  .allocateAddress("Component", "id-1")
@@ -383,7 +383,7 @@ describe("WalletDaemonTariSigner", () => {
383
383
  const transaction = TransactionBuilder.new(Network.LocalNet)
384
384
  .feeTransactionPayFromComponent(account.address, fee)
385
385
  // Have to use add instruction to submit the transaction since this error is caught by the builder
386
- // .assertBucketContains("not_exist", "resource_0000000000000000000000000000000000000000000000000000000000000000", Amount.new(1))
386
+ // .assertBucketContains("not_exist", "resource_0000000000000000000000000000000000000000000000000000000000000000", Amount.of(1))
387
387
  .addInstruction({
388
388
  AssertBucketContains: {
389
389
  key: { id: 123, offset: null },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/tarijs-types",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -7,7 +7,7 @@ export class Amount {
7
7
 
8
8
  public static readonly MAX: Amount = new Amount(Number.MAX_SAFE_INTEGER);
9
9
 
10
- public static new(amount: number): Amount {
10
+ public static of(amount: number): Amount {
11
11
  return new Amount(amount);
12
12
  }
13
13
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/wallet-daemon-signer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/wallet-connect-signer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {