@noita-ts/pollnet 0.3.1 → 0.3.4
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.lua
CHANGED
|
@@ -46,7 +46,7 @@ void pollnet_sleep_ms(uint32_t milliseconds);
|
|
|
46
46
|
]]
|
|
47
47
|
|
|
48
48
|
--- @noita-ts-include ./pollnet.dll
|
|
49
|
-
local pollnet = ffi.load("mods/" .. require("$mod").MOD_ID .. "/lua_modules/@noita-ts/pollnet/pollnet.dll")
|
|
49
|
+
local pollnet = ffi.load("mods/" .. require("$mod").MOD_ID .. "/lua_modules/@noita-ts/pollnet/dist/pollnet.dll")
|
|
50
50
|
|
|
51
51
|
local POLLNET_VERSION = ffi.string(pollnet.pollnet_version())
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noita-ts/pollnet",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"files": [
|
|
5
|
-
"dist/**/*.{lua,d.ts}",
|
|
6
|
-
"pollnet.dll",
|
|
5
|
+
"dist/**/*.{lua,dll,d.ts}",
|
|
7
6
|
"LICENSE-pollnet"
|
|
8
7
|
],
|
|
9
8
|
"type": "module",
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
21
|
"scripts": {
|
|
23
|
-
"build": "tstl -p . && cp *.lua
|
|
22
|
+
"build": "tstl -p . && cp *.{lua,d.ts,dll} dist/",
|
|
24
23
|
"prepublishOnly": "rm -rf dist && npm run build"
|
|
25
24
|
},
|
|
26
25
|
"dependencies": {
|
|
File without changes
|