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.
- package/lib/commonjs/NativeWebGPUModule.js.map +1 -1
- package/lib/commonjs/WebGPUViewNativeComponent.js +2 -3
- package/lib/commonjs/WebGPUViewNativeComponent.js.map +1 -1
- package/lib/module/NativeWebGPUModule.js.map +1 -1
- package/lib/module/WebGPUViewNativeComponent.js +1 -1
- package/lib/module/WebGPUViewNativeComponent.js.map +1 -1
- package/lib/typescript/lib/commonjs/WebGPUViewNativeComponent.d.ts +2 -1
- package/lib/typescript/lib/module/WebGPUViewNativeComponent.d.ts +1 -1
- package/lib/typescript/src/NativeWebGPUModule.d.ts +1 -1
- package/lib/typescript/src/NativeWebGPUModule.d.ts.map +1 -1
- package/lib/typescript/src/WebGPUViewNativeComponent.d.ts +2 -2
- package/lib/typescript/src/WebGPUViewNativeComponent.d.ts.map +1 -1
- package/libs/android/arm64-v8a/libwebgpu_dawn.so +0 -0
- package/libs/android/armeabi-v7a/libwebgpu_dawn.so +0 -0
- package/libs/android/x86/libwebgpu_dawn.so +0 -0
- package/libs/android/x86_64/libwebgpu_dawn.so +0 -0
- package/package.json +9 -4
- package/src/NativeWebGPUModule.ts +1 -1
- package/src/WebGPUViewNativeComponent.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeWebGPUModule.ts"],"mappings":";;;;;;
|
|
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
|
|
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,
|
|
9
|
+
var _default = exports.default = (0, _reactNative.codegenNativeComponent)("WebGPUView");
|
|
11
10
|
//# sourceMappingURL=WebGPUViewNativeComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
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":"
|
|
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
|
|
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,
|
|
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,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("react-native
|
|
1
|
+
declare const _default: import("react-native").HostComponent<object>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=WebGPUViewNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeWebGPUModule.d.ts","sourceRoot":"","sources":["../../../src/NativeWebGPUModule.ts"],"names":[],"mappings":"
|
|
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
|
|
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,
|
|
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.
|
|
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.
|
|
83
|
-
"react-native": "0.
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import codegenNativeComponent from "react-native
|
|
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;
|