@platforma-sdk/ui-vue 1.41.6 → 1.41.9

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,26 +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
- > @platforma-sdk/ui-vue@1.41.6 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.41.9 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vite build
5
5
 
6
6
  vite v6.3.5 building for production...
7
- src/internal/test-helpers/createMockApi.ts:30:3 - error TS2741: Property 'dispose' is missing in type '{ apiVersion: 2; sdkInfo: { sdkVersion: string; }; loadBlockState: () => Promise<ResultOrError<ValueWithUTag<BlockState<Args, Outputs, UiState, Href>>>>; ... 8 more ...; pFrameDriver: any; }' but required in type 'PlatformaV2<Args, Outputs, UiState, Href>'.
8
-
9
- 30 return {
10
-    ~~~~~~
11
-
12
- ../model/dist/block_api_v2.d.ts:48:5
13
- 48 dispose(): Promise<ResultOrError<void>>;
14
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
- 'dispose' is declared here.
16
-
17
7
  transforming...
18
8
  ✓ 934 modules transformed.
19
9
  rendering chunks...
20
10
 
21
11
  [vite:dts] Start generate declaration files...
22
12
  computing gzip size...
23
- [vite:dts] Declaration files built in 7243ms.
13
+ [vite:dts] Declaration files built in 5850ms.
24
14
 
25
15
  dist/_virtual/re.js  0.08 kB │ gzip: 0.10 kB │ map: 0.09 kB
26
16
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js  0.09 kB │ gzip: 0.10 kB │ map: 0.32 kB
@@ -923,4 +913,4 @@ computing gzip size...
923
913
  dist/lib/ui/uikit/dist/index.js 497.97 kB │ gzip: 191.79 kB │ map: 0.19 kB
924
914
  dist/lib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js 601.20 kB │ gzip: 204.75 kB │ map: 0.22 kB
925
915
  dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js 603.09 kB │ gzip: 205.61 kB │ map: 0.28 kB
926
- ✓ built in 12.60s
916
+ ✓ built in 10.19s
@@ -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
- > @platforma-sdk/ui-vue@1.41.6 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.41.9 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vue-tsc --noEmit --project ./tsconfig.json
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.41.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 00cd7f1: Fix missing dispose in the api test helper
8
+
3
9
  ## 1.41.6
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"createMockApi.d.ts","sourceRoot":"","sources":["../../../src/internal/test-helpers/createMockApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,WAAW,EACX,gBAAgB,EAYjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,wBAAgB,aAAa,CAC3B,IAAI,EACJ,OAAO,SAAS,gBAAgB,EAChC,OAAO,GAAG,OAAO,EACjB,IAAI,SAAS,IAAI,MAAM,EAAE,GAAG,IAAI,MAAM,EAAE,EACxC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CA+D3F"}
1
+ {"version":3,"file":"createMockApi.d.ts","sourceRoot":"","sources":["../../../src/internal/test-helpers/createMockApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,WAAW,EACX,gBAAgB,EAYjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,wBAAgB,aAAa,CAC3B,IAAI,EACJ,OAAO,SAAS,gBAAgB,EAChC,OAAO,GAAG,OAAO,EACjB,IAAI,SAAS,IAAI,MAAM,EAAE,GAAG,IAAI,MAAM,EAAE,EACxC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CAkE3F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/ui-vue",
3
- "version": "1.41.6",
3
+ "version": "1.41.9",
4
4
  "type": "module",
5
5
  "main": "dist/lib.js",
6
6
  "styles": "dist/lib.js",
@@ -25,8 +25,8 @@
25
25
  "@vueuse/integrations": "^13.3.0",
26
26
  "d3-format": "^3.1.0",
27
27
  "zod": "~3.23.8",
28
- "@milaboratories/uikit": "2.3.21",
29
28
  "@milaboratories/biowasm-tools": "^1.1.0",
29
+ "@milaboratories/uikit": "2.3.21",
30
30
  "@platforma-sdk/model": "~1.41.6"
31
31
  },
32
32
  "devDependencies": {
@@ -43,10 +43,10 @@
43
43
  "yarpm": "^1.2.0",
44
44
  "fast-json-patch": "^3.1.1",
45
45
  "@faker-js/faker": "^9.2.0",
46
- "@milaboratories/helpers": "^1.6.19",
47
46
  "@milaboratories/ts-configs": "1.0.5",
47
+ "@milaboratories/build-configs": "1.0.5",
48
48
  "@milaboratories/eslint-config": "^1.0.4",
49
- "@milaboratories/build-configs": "1.0.5"
49
+ "@milaboratories/helpers": "^1.6.19"
50
50
  },
51
51
  "scripts": {
52
52
  "test": "vitest run --passWithNoTests",
@@ -32,6 +32,9 @@ export function createMockApi<
32
32
  sdkInfo: {
33
33
  sdkVersion: 'dev',
34
34
  },
35
+ async dispose(): Promise<ResultOrError<void>> {
36
+ return block.dispose();
37
+ },
35
38
  loadBlockState: async function (): Promise<ResultOrError<ValueWithUTag<BlockState<Args, Outputs, UiState, Href>>>> {
36
39
  return block.loadBlockState();
37
40
  },