rust-rpa 0.2.0-beta.0 → 0.2.0-beta.2

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +8 -8
package/index.js CHANGED
@@ -53,7 +53,7 @@ switch (platform) {
53
53
  if (localFileExisted) {
54
54
  nativeBinding = require('./npm/win32-x64-msvc/rust-rpa.win32-x64-msvc.node')
55
55
  } else {
56
- nativeBinding = require('rust-rpa-win32-x64-msvc')
56
+ nativeBinding = require('@alibot/rust-rpa-win32-x64-msvc')
57
57
  }
58
58
  } catch (e) {
59
59
  loadError = e
@@ -67,7 +67,7 @@ switch (platform) {
67
67
  if (localFileExisted) {
68
68
  nativeBinding = require('./npm/win32-ia32-msvc/rust-rpa.win32-ia32-msvc.node')
69
69
  } else {
70
- nativeBinding = require('rust-rpa-win32-ia32-msvc')
70
+ nativeBinding = require('@alibot/rust-rpa-win32-ia32-msvc')
71
71
  }
72
72
  } catch (e) {
73
73
  loadError = e
@@ -90,7 +90,7 @@ switch (platform) {
90
90
  if (localFileExisted) {
91
91
  nativeBinding = require('./npm/darwin-x64/rust-rpa.darwin-x64.node')
92
92
  } else {
93
- nativeBinding = require('rust-rpa-darwin-x64')
93
+ nativeBinding = require('@alibot/rust-rpa-darwin-x64')
94
94
  }
95
95
  } catch (e) {
96
96
  loadError = e
@@ -104,7 +104,7 @@ switch (platform) {
104
104
  if (localFileExisted) {
105
105
  nativeBinding = require('./npm/darwin-arm64/rust-rpa.darwin-arm64.node')
106
106
  } else {
107
- nativeBinding = require('rust-rpa-darwin-arm64')
107
+ nativeBinding = require('@alibot/rust-rpa-darwin-arm64')
108
108
  }
109
109
  } catch (e) {
110
110
  loadError = e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-rpa",
3
- "version": "0.2.0-beta.0",
3
+ "version": "0.2.0-beta.2",
4
4
  "description": "Rust-based RPA automation library for Node.js",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
@@ -17,7 +17,7 @@
17
17
  "napi": {
18
18
  "binaryName": "rust-rpa",
19
19
  "package": {
20
- "name": "rust-rpa"
20
+ "name": "@alibot/rust-rpa"
21
21
  },
22
22
  "targets": [
23
23
  "x86_64-pc-windows-msvc",
@@ -43,7 +43,7 @@
43
43
  "build:windows-x86": "napi build --platform --release --target i686-pc-windows-msvc --cross-compile --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
44
44
  "build:windows-all": "npm run build:windows-x64 && npm run build:windows-x86",
45
45
  "build:all": "npm run build:macos-universal && npm run build:windows-all",
46
- "postbuild": "node scripts/postbuild.js && napi prepublish -t npm",
46
+ "postbuild": "node scripts/postbuild.js",
47
47
  "download-models": "bash scripts/download-models.sh",
48
48
  "download-charset": "bash scripts/download-charset.sh",
49
49
  "download-paddle-models": "bash scripts/download-paddle-models.sh",
@@ -69,9 +69,9 @@
69
69
  "commander": "^14.0.3"
70
70
  },
71
71
  "optionalDependencies": {
72
- "rust-rpa-win32-x64-msvc": "0.2.0-beta.0",
73
- "rust-rpa-win32-ia32-msvc": "0.2.0-beta.0",
74
- "rust-rpa-darwin-x64": "0.2.0-beta.0",
75
- "rust-rpa-darwin-arm64": "0.2.0-beta.0"
72
+ "@alibot/rust-rpa-win32-x64-msvc": "0.2.0-beta.2",
73
+ "@alibot/rust-rpa-win32-ia32-msvc": "0.2.0-beta.2",
74
+ "@alibot/rust-rpa-darwin-x64": "0.2.0-beta.2",
75
+ "@alibot/rust-rpa-darwin-arm64": "0.2.0-beta.2"
76
76
  }
77
- }
77
+ }