vovk 3.0.0-draft.354 → 3.0.0-draft.356

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/cjs/types.d.ts CHANGED
@@ -292,6 +292,7 @@ type BundleConfig = {
292
292
  dontDeleteTsClientOutDirAfter?: boolean;
293
293
  package?: PackageJson;
294
294
  readme?: ReadmeConfig;
295
+ reExports?: Record<string, string>;
295
296
  tsdownBuildOptions?: Parameters<typeof build>[0];
296
297
  } & ({
297
298
  excludeSegments?: never;
@@ -74,7 +74,10 @@ ${outputValidation ? `print(response)\n${getPySample(outputValidation, 0)}` : ''
74
74
  : ''}`;
75
75
  const serdeUnwrap = (fake) => `from_value(json!(${fake})).unwrap()`;
76
76
  const RS_CODE = `use ${packageJson?.rs_name ?? packageNameSnake}::${rpcNameSnake};
77
- use serde_json::{ from_value, json };
77
+ use serde_json::{
78
+ from_value,
79
+ json
80
+ };
78
81
 
79
82
  pub fn main() {
80
83
  let response = ${rpcNameSnake}::${handlerNameSnake}(
package/mjs/types.d.ts CHANGED
@@ -292,6 +292,7 @@ type BundleConfig = {
292
292
  dontDeleteTsClientOutDirAfter?: boolean;
293
293
  package?: PackageJson;
294
294
  readme?: ReadmeConfig;
295
+ reExports?: Record<string, string>;
295
296
  tsdownBuildOptions?: Parameters<typeof build>[0];
296
297
  } & ({
297
298
  excludeSegments?: never;
@@ -74,7 +74,10 @@ ${outputValidation ? `print(response)\n${getPySample(outputValidation, 0)}` : ''
74
74
  : ''}`;
75
75
  const serdeUnwrap = (fake) => `from_value(json!(${fake})).unwrap()`;
76
76
  const RS_CODE = `use ${packageJson?.rs_name ?? packageNameSnake}::${rpcNameSnake};
77
- use serde_json::{ from_value, json };
77
+ use serde_json::{
78
+ from_value,
79
+ json
80
+ };
78
81
 
79
82
  pub fn main() {
80
83
  let response = ${rpcNameSnake}::${handlerNameSnake}(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "3.0.0-draft.354",
3
+ "version": "3.0.0-draft.356",
4
4
  "main": "./cjs/index.js",
5
5
  "module": "./mjs/index.js",
6
6
  "types": "./mjs/index.d.ts",