@xylabs/buffer 4.13.19 → 4.13.21

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/README.md CHANGED
@@ -12,13 +12,56 @@
12
12
  [![snyk-badge][]][snyk-link]
13
13
  [![socket-badge][]][socket-link]
14
14
 
15
- Version: 4.13.15
16
15
 
17
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
18
17
 
19
- ## Documentation
18
+ ## API Documentation
19
+
20
+ **@xylabs/buffer**
21
+
22
+ ***
23
+
24
+ ## Modules
25
+
26
+ - [browser](#browser/README)
27
+ - [node](#node/README)
28
+
29
+ ### browser
30
+
31
+ ### functions
32
+
33
+ ### <a id="bufferPolyfill"></a>bufferPolyfill
34
+
35
+ [**@xylabs/buffer**](#../../README)
36
+
37
+ ***
38
+
39
+ ```ts
40
+ function bufferPolyfill(): void;
41
+ ```
42
+
43
+ ## Returns
44
+
45
+ `void`
46
+
47
+ ### node
48
+
49
+ ### functions
50
+
51
+ ### <a id="bufferPolyfill"></a>bufferPolyfill
52
+
53
+ [**@xylabs/buffer**](#../../README)
54
+
55
+ ***
56
+
57
+ ```ts
58
+ function bufferPolyfill(): void;
59
+ ```
60
+
61
+ ## Returns
62
+
63
+ `void`
20
64
 
21
- Coming Soon!
22
65
 
23
66
  Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
24
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/buffer",
3
- "version": "4.13.19",
3
+ "version": "4.13.21",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "buffer",
@@ -30,22 +30,29 @@
30
30
  ".": {
31
31
  "browser": {
32
32
  "types": "./dist/browser/index.d.ts",
33
+ "source": "./src/browser/index.ts",
33
34
  "default": "./dist/browser/index.mjs"
34
35
  },
35
36
  "types": "./dist/node/index.d.ts",
37
+ "source": "./src/node/index.ts",
36
38
  "default": "./dist/node/index.mjs"
37
39
  },
38
40
  "./package.json": "./package.json"
39
41
  },
40
42
  "module": "./dist/node/index.mjs",
43
+ "source": "./src/node/index.ts",
41
44
  "types": "./dist/node/index.d.ts",
45
+ "files": [
46
+ "dist",
47
+ "src"
48
+ ],
42
49
  "dependencies": {
43
50
  "buffer": "^6.0.3"
44
51
  },
45
52
  "devDependencies": {
46
53
  "@types/node": "^24.0.14",
47
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
48
- "@xylabs/tsconfig": "^7.0.0-rc.27",
54
+ "@xylabs/ts-scripts-yarn3": "^7.0.0",
55
+ "@xylabs/tsconfig": "^7.0.0",
49
56
  "typescript": "^5.8.3"
50
57
  },
51
58
  "engines": {
package/babel.config.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env"
4
- ]
5
- }
package/xy.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
- const config: XyTsupConfig = {
3
- compile: {
4
- browser: { 'src/browser': true },
5
- neutral: {},
6
- node: { 'src/node': true },
7
- },
8
- }
9
-
10
- export default config