@vulfram/transport-bun 0.22.2-alpha → 0.22.3-alpha

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulfram/transport-bun",
3
- "version": "0.22.2-alpha",
3
+ "version": "0.22.3-alpha",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,36 +12,36 @@ const loaders: PlatformLoaderMap<{ default: string }> = {
12
12
  darwin: {
13
13
  arm64: () =>
14
14
  // @ts-expect-error
15
- import('../../lib/macos-arm64/vulfram_core.dylib', {
15
+ import('../../dist/macos-arm64/vulfram_core.dylib', {
16
16
  with: { type: 'file' }
17
17
  }),
18
18
  x64: () =>
19
19
  // @ts-expect-error
20
- import('../../lib/macos-x64/vulfram_core.dylib', {
20
+ import('../../dist/macos-x64/vulfram_core.dylib', {
21
21
  with: { type: 'file' }
22
22
  })
23
23
  },
24
24
  linux: {
25
25
  arm64: () =>
26
26
  // @ts-expect-error
27
- import('../../lib/linux-arm64/vulfram_core.so', {
27
+ import('../../dist/linux-arm64/vulfram_core.so', {
28
28
  with: { type: 'file' }
29
29
  }),
30
30
  x64: () =>
31
31
  // @ts-expect-error
32
- import('../../lib/linux-x64/vulfram_core.so', {
32
+ import('../../dist/linux-x64/vulfram_core.so', {
33
33
  with: { type: 'file' }
34
34
  })
35
35
  },
36
36
  win32: {
37
37
  arm64: () =>
38
38
  // @ts-expect-error
39
- import('../../lib/windows-arm64/vulfram_core.dll', {
39
+ import('../../dist/windows-arm64/vulfram_core.dll', {
40
40
  with: { type: 'file' }
41
41
  }),
42
42
  x64: () =>
43
43
  // @ts-expect-error
44
- import('../../lib/windows-x64/vulfram_core.dll', {
44
+ import('../../dist/windows-x64/vulfram_core.dll', {
45
45
  with: { type: 'file' }
46
46
  })
47
47
  }
@@ -51,9 +51,9 @@ function getExpectedLocalArtifact(): string {
51
51
  try {
52
52
  const platform = resolveNativePlatform();
53
53
  const filename = getArtifactFileName('ffi', platform);
54
- return `../../lib/${platform}/${filename}`;
54
+ return `../../dist/${platform}/${filename}`;
55
55
  } catch {
56
- return '../../lib/<platform>/vulfram_core.<dll|dylib|so>';
56
+ return '../../dist/<platform>/vulfram_core.<dll|dylib|so>';
57
57
  }
58
58
  }
59
59
 
package/tsconfig.json CHANGED
@@ -1,29 +1,31 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  // Environment setup & latest features
4
- "lib": ["ESNext"],
4
+ "lib": [
5
+ "ESNext"
6
+ ],
7
+ "types": [
8
+ "bun"
9
+ ],
5
10
  "target": "ESNext",
6
11
  "module": "Preserve",
7
12
  "moduleDetection": "force",
8
13
  "jsx": "react-jsx",
9
14
  "allowJs": true,
10
-
11
15
  // Bundler mode
12
16
  "moduleResolution": "bundler",
13
17
  "allowImportingTsExtensions": true,
14
18
  "verbatimModuleSyntax": true,
15
19
  "noEmit": true,
16
-
17
20
  // Best practices
18
21
  "strict": true,
19
22
  "skipLibCheck": true,
20
23
  "noFallthroughCasesInSwitch": true,
21
24
  "noUncheckedIndexedAccess": true,
22
25
  "noImplicitOverride": true,
23
-
24
26
  // Some stricter flags (disabled by default)
25
27
  "noUnusedLocals": false,
26
28
  "noUnusedParameters": false,
27
29
  "noPropertyAccessFromIndexSignature": false
28
30
  }
29
- }
31
+ }
package/lib/.gitkeep DELETED
File without changes
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "linux-arm64",
6
- "rust_target": "aarch64-unknown-linux-gnu",
7
- "artifact": "vulfram_core.so",
8
- "sha256": "fa06030c8783659d1e42867c8e4ddf462de3ff1c7fc23473c44fd69210ab5795"
9
- }
Binary file
@@ -1 +0,0 @@
1
- fa06030c8783659d1e42867c8e4ddf462de3ff1c7fc23473c44fd69210ab5795
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "linux-x64",
6
- "rust_target": "x86_64-unknown-linux-gnu",
7
- "artifact": "vulfram_core.so",
8
- "sha256": "f6b49b796a339f0adaacdf3fbcf49034c71d2fe8b6375d108d60cb878a68a58e"
9
- }
Binary file
@@ -1 +0,0 @@
1
- f6b49b796a339f0adaacdf3fbcf49034c71d2fe8b6375d108d60cb878a68a58e
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "macos-arm64",
6
- "rust_target": "aarch64-apple-darwin",
7
- "artifact": "vulfram_core.dylib",
8
- "sha256": "3f2ccac89489e068f0bab97b2405fa2ffe81bf8b4e900d0dd8a15017d940c137"
9
- }
Binary file
@@ -1 +0,0 @@
1
- 3f2ccac89489e068f0bab97b2405fa2ffe81bf8b4e900d0dd8a15017d940c137
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "macos-x64",
6
- "rust_target": "x86_64-apple-darwin",
7
- "artifact": "vulfram_core.dylib",
8
- "sha256": "29f098c9f56eab12e90c1f4454d2828976b81314070369c8233f7a70035f7dfd"
9
- }
Binary file
@@ -1 +0,0 @@
1
- 29f098c9f56eab12e90c1f4454d2828976b81314070369c8233f7a70035f7dfd
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "windows-arm64",
6
- "rust_target": "aarch64-pc-windows-msvc",
7
- "artifact": "vulfram_core.dll",
8
- "sha256": "2aaf52c0140ede23541b4b67272250ded61d1809da7b8dbd19ef219dad4e3eec"
9
- }
Binary file
@@ -1 +0,0 @@
1
- 2aaf52c0140ede23541b4b67272250ded61d1809da7b8dbd19ef219dad4e3eec
@@ -1,9 +0,0 @@
1
- {
2
- "channel": "alpha",
3
- "version": "0.22.2-alpha",
4
- "binding": "ffi",
5
- "platform": "windows-x64",
6
- "rust_target": "x86_64-pc-windows-msvc",
7
- "artifact": "vulfram_core.dll",
8
- "sha256": "6bb74f295db711360f20651dee48ee6eb01ede71be34fc82d3aa21ae34336f8e"
9
- }
Binary file
@@ -1 +0,0 @@
1
- 6bb74f295db711360f20651dee48ee6eb01ede71be34fc82d3aa21ae34336f8e