@typeberry/jam 0.1.1-4a6ffa9 → 0.1.1-b537c8b
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/block-generator/index.js +0 -29
- package/block-generator/index.js.map +1 -1
- package/importer/index.js +0 -29
- package/importer/index.js.map +1 -1
- package/index.js +7 -32
- package/index.js.map +1 -1
- package/jam-network/index.js +0 -29
- package/jam-network/index.js.map +1 -1
- package/package.json +2 -4
package/jam-network/index.js
CHANGED
|
@@ -25425,34 +25425,6 @@ class WithDebug {
|
|
|
25425
25425
|
}
|
|
25426
25426
|
}
|
|
25427
25427
|
|
|
25428
|
-
;// CONCATENATED MODULE: ./packages/core/utils/dev.ts
|
|
25429
|
-
const dev_env = typeof process === "undefined" ? {} : process.env;
|
|
25430
|
-
/**
|
|
25431
|
-
* The function will produce relative path resolver that is adjusted
|
|
25432
|
-
* for package location within the workspace.
|
|
25433
|
-
*
|
|
25434
|
-
* Example:
|
|
25435
|
-
* $ npm start -w @typeberry/jam
|
|
25436
|
-
*
|
|
25437
|
-
* The above command will run `./bin/jam/index.js`, however we would
|
|
25438
|
-
* still want relative paths to be resolved according to top-level workspace
|
|
25439
|
-
* directory.
|
|
25440
|
-
*
|
|
25441
|
-
* So the caller, passes the absolute workspace path as argument and get's
|
|
25442
|
-
* a function that can properly resolve relative paths.
|
|
25443
|
-
*
|
|
25444
|
-
* NOTE: the translation happens only for development build! When
|
|
25445
|
-
* we build a single library from our project, we no longer mangle the paths.
|
|
25446
|
-
*/
|
|
25447
|
-
const workspacePathFix = dev_env.NODE_ENV === "development"
|
|
25448
|
-
? (workspacePath) => (p) => {
|
|
25449
|
-
if (p.startsWith("/")) {
|
|
25450
|
-
return p;
|
|
25451
|
-
}
|
|
25452
|
-
return `${workspacePath}/${p}`;
|
|
25453
|
-
}
|
|
25454
|
-
: () => (p) => p;
|
|
25455
|
-
|
|
25456
25428
|
;// CONCATENATED MODULE: ./packages/core/utils/opaque.ts
|
|
25457
25429
|
/**
|
|
25458
25430
|
* @fileoverview `Opaque<Type, Token>` constructs a unique type which is a subset of Type with a
|
|
@@ -25796,7 +25768,6 @@ function isResult(x) {
|
|
|
25796
25768
|
|
|
25797
25769
|
|
|
25798
25770
|
|
|
25799
|
-
|
|
25800
25771
|
;// CONCATENATED MODULE: ./packages/core/bytes/bitvec.ts
|
|
25801
25772
|
|
|
25802
25773
|
/**
|