xmanages-package 1.0.1 → 1.0.3

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
@@ -5,13 +5,13 @@ A simple npm package with an `init` function.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install my-package
8
+ npm install xmanages-package
9
9
  ```
10
10
 
11
11
  ## Usage
12
12
 
13
13
  ```javascript
14
- import { init } from 'my-package';
14
+ import { init } from 'xmanages-package';
15
15
 
16
16
  init('your-public-token');
17
17
  // Output: public_token: your-public-token
package/index.js CHANGED
@@ -1,3 +1,8 @@
1
1
  export function init(public_token) {
2
2
  console.log('public_token:', public_token);
3
3
  }
4
+
5
+ export function initialize(public_token, external_id) {
6
+ const payload = { public_token, external_id };
7
+ console.log('payload:', payload);
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmanages-package",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A simple package with an init function",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export function greet(name: string) {
2
- return `Hello, ${name}!`;
3
- }
package/tsconfig.json DELETED
File without changes