@aulynk/miniapp-sdk 0.1.0 → 0.1.1-ci.0
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 +2 -2
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -12,10 +12,10 @@ import { AulynkMiniApp } from '@aulynk/miniapp-sdk';
|
|
|
12
12
|
const app = AulynkMiniApp.init();
|
|
13
13
|
const user = await app.getUser();
|
|
14
14
|
console.log(user.name);
|
|
15
|
-
```
|
|
15
|
+
```
|
|
16
16
|
|
|
17
17
|
## Releases
|
|
18
18
|
|
|
19
19
|
Run `npm version patch` (or use `minor` or `major`), then push the commit and version tag with `git push --follow-tags`. The tag must match the version in `package.json`. GitHub Actions publishes stable versions to npm and prereleases under the `next` dist-tag.
|
|
20
20
|
|
|
21
|
-
For the initial setup, publish the first version from an npm account with write access to the `@aulynk` scope. Then configure a GitHub Actions Trusted Publisher in the npm package settings. Use the `Aulynk` organization, this repository, and the `publish.yml` workflow. Enable direct publishing.
|
|
21
|
+
For the initial setup, publish the first version from an npm account with write access to the `@aulynk` scope. Then configure a GitHub Actions Trusted Publisher in the npm package settings. Use the `Aulynk` organization, this repository, and the `publish.yml` workflow. Enable direct publishing.
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aulynk/miniapp-sdk",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "SDK for building Aulynk Mini Apps (iframe-based)",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"README.md"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"prepublishOnly": "npm run build"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"typescript": "^5.4.0"
|
|
17
|
-
},
|
|
18
|
-
"publishConfig": {
|
|
19
|
-
"registry": "https://registry.npmjs.org/",
|
|
20
|
-
"access": "public"
|
|
21
|
-
},
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/Aulynk/aulynk-miniapp-sdk.git"
|
|
25
|
-
},
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/Aulynk/aulynk-miniapp-sdk/issues"
|
|
28
|
-
},
|
|
29
|
-
"type": "module"
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@aulynk/miniapp-sdk",
|
|
3
|
+
"version": "0.1.1-ci.0",
|
|
4
|
+
"description": "SDK for building Aulynk Mini Apps (iframe-based)",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"typescript": "^5.4.0"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"registry": "https://registry.npmjs.org/",
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/Aulynk/aulynk-miniapp-sdk.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/Aulynk/aulynk-miniapp-sdk/issues"
|
|
28
|
+
},
|
|
29
|
+
"type": "module"
|
|
30
|
+
}
|