react-native-wgpu 0.2.6 → 0.2.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.
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeWebGPUModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAMA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACeC,gCAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeWebGPUModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAOA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACeC,gCAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7
+ var _reactNative = require("react-native");
9
8
  // eslint-disable-next-line import/no-default-export
10
- var _default = exports.default = (0, _codegenNativeComponent.default)("WebGPUView");
9
+ var _default = exports.default = (0, _reactNative.codegenNativeComponent)("WebGPUView");
11
10
  //# sourceMappingURL=WebGPUViewNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"../../src","sources":["WebGPUViewNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS7F;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GACe,IAAAG,+BAAsB,EAAc,YAAY,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","codegenNativeComponent"],"sourceRoot":"../../src","sources":["WebGPUViewNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AASA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACe,IAAAC,mCAAsB,EAAc,YAAY,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeWebGPUModule.ts"],"mappings":"AACA,SAASA,mBAAmB,QAAQ,cAAc;AAMlD;AACA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeWebGPUModule.ts"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,cAAc;AAOlD;AACA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent";
1
+ import { codegenNativeComponent } from "react-native";
2
2
  // eslint-disable-next-line import/no-default-export
3
3
  export default codegenNativeComponent("WebGPUView");
4
4
  //# sourceMappingURL=WebGPUViewNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../src","sources":["WebGPUViewNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAS5F;AACA,eAAeA,sBAAsB,CAAc,YAAY,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../src","sources":["WebGPUViewNativeComponent.ts"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ,cAAc;AASrD;AACA,eAAeA,sBAAsB,CAAc,YAAY,CAAC","ignoreList":[]}
@@ -1,4 +1,5 @@
1
1
  export const __esModule: boolean;
2
- declare const _default: any;
2
+ declare const _default: _reactNative.HostComponent<object>;
3
3
  export default _default;
4
+ import _reactNative = require("react-native");
4
5
  //# sourceMappingURL=WebGPUViewNativeComponent.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<object>;
1
+ declare const _default: import("react-native").HostComponent<object>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=WebGPUViewNativeComponent.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
1
+ import type { TurboModule } from "react-native";
2
2
  export interface Spec extends TurboModule {
3
3
  install: () => boolean;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NativeWebGPUModule.d.ts","sourceRoot":"","sources":["../../../src/NativeWebGPUModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAGhF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,OAAO,EAAE,MAAM,OAAO,CAAC;CACxB;;AAGD,wBAAsE"}
1
+ {"version":3,"file":"NativeWebGPUModule.d.ts","sourceRoot":"","sources":["../../../src/NativeWebGPUModule.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,OAAO,EAAE,MAAM,OAAO,CAAC;CACxB;;AAGD,wBAAsE"}
@@ -1,9 +1,9 @@
1
- import type { ViewProps } from "react-native";
2
1
  import type { Int32 } from "react-native/Libraries/Types/CodegenTypes";
2
+ import type { ViewProps } from "react-native";
3
3
  interface NativeProps extends ViewProps {
4
4
  contextId: Int32;
5
5
  transparent: boolean;
6
6
  }
7
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
7
+ declare const _default: import("react-native").HostComponent<NativeProps>;
8
8
  export default _default;
9
9
  //# sourceMappingURL=WebGPUViewNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebGPUViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/WebGPUViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEvE,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,EAAE,KAAK,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;;AAGD,wBAAiE"}
1
+ {"version":3,"file":"WebGPUViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/WebGPUViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,EAAE,KAAK,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;;AAGD,wBAAiE"}
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wgpu",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "React Native WebGPU",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -79,8 +79,8 @@
79
79
  "pngjs": "^7.0.0",
80
80
  "prettier": "^3.0.3",
81
81
  "puppeteer": "22",
82
- "react": "19.0.0",
83
- "react-native": "0.79.2",
82
+ "react": "19.1.0",
83
+ "react-native": "0.81.4",
84
84
  "react-native-builder-bob": "^0.23.2",
85
85
  "rimraf": "^5.0.7",
86
86
  "seedrandom": "^3.0.5",
@@ -116,6 +116,11 @@
116
116
  "jsSrcsDir": "src",
117
117
  "android": {
118
118
  "javaPackageName": "com.webgpu"
119
+ },
120
+ "ios": {
121
+ "componentProviders": {
122
+ "WebGPUView": "WebGPUView"
123
+ }
119
124
  }
120
125
  }
121
- }
126
+ }
@@ -1,5 +1,5 @@
1
- import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
2
1
  import { TurboModuleRegistry } from "react-native";
2
+ import type { TurboModule } from "react-native";
3
3
 
4
4
  export interface Spec extends TurboModule {
5
5
  install: () => boolean;
@@ -1,6 +1,6 @@
1
- import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent";
2
- import type { ViewProps } from "react-native";
1
+ import { codegenNativeComponent } from "react-native";
3
2
  import type { Int32 } from "react-native/Libraries/Types/CodegenTypes";
3
+ import type { ViewProps } from "react-native";
4
4
 
5
5
  interface NativeProps extends ViewProps {
6
6
  contextId: Int32;