@shieldbattery/danimoth 0.1.0 → 0.1.1
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/LICENSE +21 -21
- package/README.md +8 -4
- package/native/Cargo.lock +1 -1
- package/native/Cargo.toml +1 -1
- package/package.json +1 -1
- package/prebuilds/x64.node +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 ShieldBattery
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ShieldBattery
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -88,11 +88,15 @@ This runs the Rust tests, builds the module, and runs the Node tests in `test/`
|
|
|
88
88
|
The tests in `test/sdk.test.js` load the real SDK from the local copy under `sdk/` (or from the path
|
|
89
89
|
in `DANIMOTH_SDK_DLL`) and are skipped when it isn't there, as in CI. They don't connect to Discord.
|
|
90
90
|
|
|
91
|
-
##
|
|
91
|
+
## Releasing
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
the tests
|
|
93
|
+
Run the "Release package" workflow from the Actions tab with the new version number. It sets the
|
|
94
|
+
version in `package.json` and `native/Cargo.toml` (kept equal; the tests fail if they differ), runs
|
|
95
|
+
the tests, builds the release binary, publishes to npm, and pushes a "Version X" commit and a tag
|
|
96
|
+
with the bare version (`1.0.0`, not `v1.0.0`), matching the other ShieldBattery native modules.
|
|
97
|
+
|
|
98
|
+
The workflow publishes as an npm trusted publisher through GitHub's OIDC token, so no npm token is
|
|
99
|
+
stored in the repo or its secrets. The binary isn't code signed yet.
|
|
96
100
|
|
|
97
101
|
## License
|
|
98
102
|
|
package/native/Cargo.lock
CHANGED
package/native/Cargo.toml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "danimoth"
|
|
3
3
|
# Kept equal to the version in package.json: `version()` reports this one, and the tests check
|
|
4
4
|
# that the two match.
|
|
5
|
-
version = "0.1.
|
|
5
|
+
version = "0.1.1"
|
|
6
6
|
description = "Rust-based Node.js native module wrapping the Discord Social SDK"
|
|
7
7
|
license = "MIT"
|
|
8
8
|
edition = "2024"
|
package/package.json
CHANGED
package/prebuilds/x64.node
CHANGED
|
Binary file
|