@milaboratories/milaboratories.monetization-test.model 1.0.47 → 1.0.49
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/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/bundle.js +15 -16
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.monetization-test.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.monetization-test.model@1.0.49 build /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
|
|
4
4
|
> ts-builder build --target block-model && block-tools build-model
|
|
5
5
|
|
|
6
6
|
Building block-model project...
|
|
7
7
|
↳ rollup -c /configs/rollup.block-model.config.js
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m3.4s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
13
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
14
14
|
../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/pframe_utils/columns.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
|
|
15
|
-
[32mcreated [1mdist[22m in [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m3.9s[22m[39m
|
|
16
16
|
Build completed successfully
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.monetization-test.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.monetization-test.model@1.0.49 lint /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
|
|
4
4
|
> eslint .
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.monetization-test.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.monetization-test.model@1.0.49 type-check /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
|
|
4
4
|
> ts-builder types --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.monetization-test.model
|
|
2
2
|
|
|
3
|
+
## 1.0.49
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [48e8984]
|
|
8
|
+
- @platforma-sdk/model@1.52.7
|
|
9
|
+
|
|
10
|
+
## 1.0.48
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [1e4b72a]
|
|
15
|
+
- @platforma-sdk/model@1.52.3
|
|
16
|
+
|
|
3
17
|
## 1.0.47
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4698,6 +4698,9 @@
|
|
|
4698
4698
|
var canonicalizeExports = requireCanonicalize();
|
|
4699
4699
|
var canonicalize = /*@__PURE__*/getDefaultExportFromCjs(canonicalizeExports);
|
|
4700
4700
|
|
|
4701
|
+
function stringifyJson(value) {
|
|
4702
|
+
return JSON.stringify(value);
|
|
4703
|
+
}
|
|
4701
4704
|
function canonicalizeJson(value) {
|
|
4702
4705
|
return canonicalize(value);
|
|
4703
4706
|
}
|
|
@@ -7478,7 +7481,7 @@
|
|
|
7478
7481
|
}
|
|
7479
7482
|
}
|
|
7480
7483
|
|
|
7481
|
-
var version = "1.52.
|
|
7484
|
+
var version = "1.52.7";
|
|
7482
7485
|
|
|
7483
7486
|
const PlatformaSDKVersion = version;
|
|
7484
7487
|
|
|
@@ -7736,9 +7739,8 @@
|
|
|
7736
7739
|
* directly - they only see `state`.
|
|
7737
7740
|
*
|
|
7738
7741
|
* Registered callbacks (all prefixed with `__pl_` for internal SDK use):
|
|
7739
|
-
* - `__pl_storage_normalize`: (rawStorage) => { storage, data }
|
|
7740
7742
|
* - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
|
|
7741
|
-
* - `
|
|
7743
|
+
* - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
|
|
7742
7744
|
* - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
|
|
7743
7745
|
* - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
|
|
7744
7746
|
* - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
|
|
@@ -7822,31 +7824,28 @@
|
|
|
7822
7824
|
// =============================================================================
|
|
7823
7825
|
// Auto-register internal callbacks when module is loaded in VM
|
|
7824
7826
|
// =============================================================================
|
|
7825
|
-
// Register normalize callback
|
|
7826
|
-
tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
|
|
7827
|
-
return normalizeStorage(rawStorage);
|
|
7828
|
-
});
|
|
7829
7827
|
// Register apply update callback (requires existing storage)
|
|
7830
7828
|
tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
|
|
7831
7829
|
return applyStorageUpdate(currentStorageJson, payload);
|
|
7832
7830
|
});
|
|
7833
7831
|
/**
|
|
7834
|
-
* Gets storage
|
|
7835
|
-
* Returns structured info about the storage state.
|
|
7832
|
+
* Gets storage debug view from raw storage data.
|
|
7833
|
+
* Returns structured debug info about the storage state.
|
|
7836
7834
|
*
|
|
7837
7835
|
* @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
|
|
7838
|
-
* @returns JSON string with storage
|
|
7836
|
+
* @returns JSON string with storage debug view
|
|
7839
7837
|
*/
|
|
7840
|
-
function
|
|
7838
|
+
function getStorageDebugView(rawStorage) {
|
|
7841
7839
|
const { storage } = normalizeStorage(rawStorage);
|
|
7842
|
-
const
|
|
7840
|
+
const debugView = {
|
|
7843
7841
|
dataVersion: storage.__dataVersion,
|
|
7842
|
+
data: storage.__data,
|
|
7844
7843
|
};
|
|
7845
|
-
return
|
|
7844
|
+
return stringifyJson(debugView);
|
|
7846
7845
|
}
|
|
7847
|
-
// Register
|
|
7848
|
-
tryRegisterCallback('
|
|
7849
|
-
return
|
|
7846
|
+
// Register debug view callback
|
|
7847
|
+
tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
|
|
7848
|
+
return getStorageDebugView(rawStorage);
|
|
7850
7849
|
});
|
|
7851
7850
|
/**
|
|
7852
7851
|
* Runs storage migration using the DataModel's upgrade callback.
|