@webview-bridge/web 1.7.5 → 1.7.7

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/index.cjs CHANGED
@@ -413,8 +413,8 @@ var __publicField = function(obj, key, value) {
413
413
  return __defNormalProp(obj, (typeof key === "undefined" ? "undefined" : _type_of(key)) !== "symbol" ? key + "" : key, value);
414
414
  };
415
415
  // src/index.ts
416
- var src_exports = {};
417
- __export(src_exports, {
416
+ var index_exports = {};
417
+ __export(index_exports, {
418
418
  MethodNotFoundError: function() {
419
419
  return MethodNotFoundError;
420
420
  },
@@ -428,7 +428,7 @@ __export(src_exports, {
428
428
  return registerWebMethod;
429
429
  }
430
430
  });
431
- module.exports = __toCommonJS(src_exports);
431
+ module.exports = __toCommonJS(index_exports);
432
432
  // src/error.ts
433
433
  var MethodNotFoundError = /*#__PURE__*/ function(Error1) {
434
434
  _inherits(MethodNotFoundError, Error1);
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { AsyncFunction, ParserSchema, KeyOfOrString, Parser, BridgeStore, Bridge, ExtractStore, ExcludePrimitive } from '@webview-bridge/types';
1
+ import { ParserSchema, KeyOfOrString, Parser, AsyncFunction, BridgeStore, Bridge, ExtractStore, ExcludePrimitive } from '@webview-bridge/types';
2
2
  export * from '@webview-bridge/types';
3
3
 
4
4
  declare class MethodNotFoundError extends Error {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AsyncFunction, ParserSchema, KeyOfOrString, Parser, BridgeStore, Bridge, ExtractStore, ExcludePrimitive } from '@webview-bridge/types';
1
+ import { ParserSchema, KeyOfOrString, Parser, AsyncFunction, BridgeStore, Bridge, ExtractStore, ExcludePrimitive } from '@webview-bridge/types';
2
2
  export * from '@webview-bridge/types';
3
3
 
4
4
  declare class MethodNotFoundError extends Error {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webview-bridge/web",
3
3
  "type": "module",
4
- "version": "1.7.5",
4
+ "version": "1.7.7",
5
5
  "description": "Fully Type-Safe Integration for React Native WebView and Web",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -26,11 +26,11 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@webview-bridge/utils": "1.7.5",
30
- "@webview-bridge/types": "1.7.5"
29
+ "@webview-bridge/utils": "1.7.7",
30
+ "@webview-bridge/types": "1.7.7"
31
31
  },
32
32
  "scripts": {
33
- "build": "tsup src/index.ts --format cjs,esm --dts --target es5",
33
+ "build": "tsup --config ./tsup.config.ts",
34
34
  "test:type": "tsc --noEmit",
35
35
  "lint": "biome check"
36
36
  }