@twin.org/engine 0.0.1-next.34 → 0.0.1-next.36
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/dist/cjs/index.cjs
CHANGED
|
@@ -513,7 +513,8 @@ function configureFaucetConnectors(coreConfig, envVars) {
|
|
|
513
513
|
clientOptions: {
|
|
514
514
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
515
515
|
},
|
|
516
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
516
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
517
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
517
518
|
}
|
|
518
519
|
}
|
|
519
520
|
});
|
|
@@ -553,7 +554,8 @@ function configureWalletConnectors(coreConfig, envVars) {
|
|
|
553
554
|
clientOptions: {
|
|
554
555
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
555
556
|
},
|
|
556
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
557
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
558
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
557
559
|
}
|
|
558
560
|
}
|
|
559
561
|
});
|
|
@@ -593,7 +595,8 @@ function configureNftConnectors(coreConfig, envVars) {
|
|
|
593
595
|
clientOptions: {
|
|
594
596
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
595
597
|
},
|
|
596
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
598
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
599
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
597
600
|
}
|
|
598
601
|
}
|
|
599
602
|
});
|
|
@@ -638,7 +641,7 @@ function configureImmutableStorageConnectors(coreConfig, envVars) {
|
|
|
638
641
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
639
642
|
},
|
|
640
643
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
641
|
-
coinType: core.Coerce.number(envVars.
|
|
644
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
642
645
|
}
|
|
643
646
|
}
|
|
644
647
|
});
|
|
@@ -699,7 +702,7 @@ function configureIdentityConnectors(coreConfig, envVars) {
|
|
|
699
702
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
700
703
|
},
|
|
701
704
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
702
|
-
coinType: core.Coerce.number(envVars.
|
|
705
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
703
706
|
}
|
|
704
707
|
}
|
|
705
708
|
});
|
|
@@ -744,7 +747,7 @@ function configureIdentityResolverConnectors(coreConfig, envVars) {
|
|
|
744
747
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
745
748
|
},
|
|
746
749
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
747
|
-
coinType: core.Coerce.number(envVars.
|
|
750
|
+
coinType: core.Coerce.number(envVars.iotaRebasedCoinType)
|
|
748
751
|
}
|
|
749
752
|
}
|
|
750
753
|
});
|
package/dist/esm/index.mjs
CHANGED
|
@@ -511,7 +511,8 @@ function configureFaucetConnectors(coreConfig, envVars) {
|
|
|
511
511
|
clientOptions: {
|
|
512
512
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
513
513
|
},
|
|
514
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
514
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
515
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
515
516
|
}
|
|
516
517
|
}
|
|
517
518
|
});
|
|
@@ -551,7 +552,8 @@ function configureWalletConnectors(coreConfig, envVars) {
|
|
|
551
552
|
clientOptions: {
|
|
552
553
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
553
554
|
},
|
|
554
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
555
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
556
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
555
557
|
}
|
|
556
558
|
}
|
|
557
559
|
});
|
|
@@ -591,7 +593,8 @@ function configureNftConnectors(coreConfig, envVars) {
|
|
|
591
593
|
clientOptions: {
|
|
592
594
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
593
595
|
},
|
|
594
|
-
network: envVars.iotaRebasedNetwork ?? ""
|
|
596
|
+
network: envVars.iotaRebasedNetwork ?? "",
|
|
597
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
595
598
|
}
|
|
596
599
|
}
|
|
597
600
|
});
|
|
@@ -636,7 +639,7 @@ function configureImmutableStorageConnectors(coreConfig, envVars) {
|
|
|
636
639
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
637
640
|
},
|
|
638
641
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
639
|
-
coinType: Coerce.number(envVars.
|
|
642
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
640
643
|
}
|
|
641
644
|
}
|
|
642
645
|
});
|
|
@@ -697,7 +700,7 @@ function configureIdentityConnectors(coreConfig, envVars) {
|
|
|
697
700
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
698
701
|
},
|
|
699
702
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
700
|
-
coinType: Coerce.number(envVars.
|
|
703
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
701
704
|
}
|
|
702
705
|
}
|
|
703
706
|
});
|
|
@@ -742,7 +745,7 @@ function configureIdentityResolverConnectors(coreConfig, envVars) {
|
|
|
742
745
|
url: envVars.iotaRebasedNodeEndpoint ?? ""
|
|
743
746
|
},
|
|
744
747
|
network: envVars.iotaRebasedNetwork ?? "",
|
|
745
|
-
coinType: Coerce.number(envVars.
|
|
748
|
+
coinType: Coerce.number(envVars.iotaRebasedCoinType)
|
|
746
749
|
}
|
|
747
750
|
}
|
|
748
751
|
});
|
|
@@ -262,6 +262,18 @@ export interface IEngineEnvironmentVariables {
|
|
|
262
262
|
* IOTA Node Endpoint.
|
|
263
263
|
*/
|
|
264
264
|
iotaNodeEndpoint?: string;
|
|
265
|
+
/**
|
|
266
|
+
* IOTA Bech32 HRP
|
|
267
|
+
*/
|
|
268
|
+
iotaBech32Hrp?: string;
|
|
269
|
+
/**
|
|
270
|
+
* IOTA coin type.
|
|
271
|
+
*/
|
|
272
|
+
iotaCoinType?: string;
|
|
273
|
+
/**
|
|
274
|
+
* IOTA Explorer Endpoint.
|
|
275
|
+
*/
|
|
276
|
+
iotaExplorerEndpoint?: string;
|
|
265
277
|
/**
|
|
266
278
|
* IOTA Rebased Faucet Endpoint.
|
|
267
279
|
*/
|
|
@@ -275,17 +287,13 @@ export interface IEngineEnvironmentVariables {
|
|
|
275
287
|
*/
|
|
276
288
|
iotaRebasedNetwork?: string;
|
|
277
289
|
/**
|
|
278
|
-
* IOTA
|
|
279
|
-
*/
|
|
280
|
-
iotaBech32Hrp?: string;
|
|
281
|
-
/**
|
|
282
|
-
* IOTA coin type.
|
|
290
|
+
* IOTA Rebased coin type.
|
|
283
291
|
*/
|
|
284
|
-
|
|
292
|
+
iotaRebasedCoinType?: string;
|
|
285
293
|
/**
|
|
286
|
-
* IOTA Explorer Endpoint.
|
|
294
|
+
* IOTA Rebased Explorer Endpoint.
|
|
287
295
|
*/
|
|
288
|
-
|
|
296
|
+
iotaRebasedExplorerEndpoint?: string;
|
|
289
297
|
/**
|
|
290
298
|
* The type of identity profile connector: entity-storage.
|
|
291
299
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -524,6 +524,30 @@ IOTA Node Endpoint.
|
|
|
524
524
|
|
|
525
525
|
***
|
|
526
526
|
|
|
527
|
+
### iotaBech32Hrp?
|
|
528
|
+
|
|
529
|
+
> `optional` **iotaBech32Hrp**: `string`
|
|
530
|
+
|
|
531
|
+
IOTA Bech32 HRP
|
|
532
|
+
|
|
533
|
+
***
|
|
534
|
+
|
|
535
|
+
### iotaCoinType?
|
|
536
|
+
|
|
537
|
+
> `optional` **iotaCoinType**: `string`
|
|
538
|
+
|
|
539
|
+
IOTA coin type.
|
|
540
|
+
|
|
541
|
+
***
|
|
542
|
+
|
|
543
|
+
### iotaExplorerEndpoint?
|
|
544
|
+
|
|
545
|
+
> `optional` **iotaExplorerEndpoint**: `string`
|
|
546
|
+
|
|
547
|
+
IOTA Explorer Endpoint.
|
|
548
|
+
|
|
549
|
+
***
|
|
550
|
+
|
|
527
551
|
### iotaRebasedFaucetEndpoint?
|
|
528
552
|
|
|
529
553
|
> `optional` **iotaRebasedFaucetEndpoint**: `string`
|
|
@@ -548,27 +572,19 @@ IOTA Rebased network.
|
|
|
548
572
|
|
|
549
573
|
***
|
|
550
574
|
|
|
551
|
-
###
|
|
575
|
+
### iotaRebasedCoinType?
|
|
552
576
|
|
|
553
|
-
> `optional` **
|
|
577
|
+
> `optional` **iotaRebasedCoinType**: `string`
|
|
554
578
|
|
|
555
|
-
IOTA
|
|
579
|
+
IOTA Rebased coin type.
|
|
556
580
|
|
|
557
581
|
***
|
|
558
582
|
|
|
559
|
-
###
|
|
583
|
+
### iotaRebasedExplorerEndpoint?
|
|
560
584
|
|
|
561
|
-
> `optional` **
|
|
585
|
+
> `optional` **iotaRebasedExplorerEndpoint**: `string`
|
|
562
586
|
|
|
563
|
-
IOTA
|
|
564
|
-
|
|
565
|
-
***
|
|
566
|
-
|
|
567
|
-
### iotaExplorerEndpoint?
|
|
568
|
-
|
|
569
|
-
> `optional` **iotaExplorerEndpoint**: `string`
|
|
570
|
-
|
|
571
|
-
IOTA Explorer Endpoint.
|
|
587
|
+
IOTA Rebased Explorer Endpoint.
|
|
572
588
|
|
|
573
589
|
***
|
|
574
590
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.36",
|
|
4
4
|
"description": "Engine implementation.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
|
-
"@twin.org/engine-core": "0.0.1-next.
|
|
19
|
-
"@twin.org/engine-types": "0.0.1-next.
|
|
18
|
+
"@twin.org/engine-core": "0.0.1-next.36",
|
|
19
|
+
"@twin.org/engine-types": "0.0.1-next.36"
|
|
20
20
|
},
|
|
21
21
|
"main": "./dist/cjs/index.cjs",
|
|
22
22
|
"module": "./dist/esm/index.mjs",
|