@usions/sdk 2.0.1 → 2.0.2

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
@@ -1,4 +1,4 @@
1
- # @usion/sdk
1
+ # @usions/sdk
2
2
 
3
3
  Client SDK for building mini-apps and games on the [Usion](https://usions.com) platform.
4
4
 
@@ -7,7 +7,7 @@ Provides access to user info, storage, wallet, chat, sessions, and real-time mul
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm install @usion/sdk
10
+ npm install @usions/sdk
11
11
  ```
12
12
 
13
13
  Or load via script tag:
@@ -19,7 +19,7 @@ Or load via script tag:
19
19
  ## Quick Start
20
20
 
21
21
  ```javascript
22
- import Usion from '@usion/sdk';
22
+ import Usion from '@usions/sdk';
23
23
 
24
24
  Usion.init((config) => {
25
25
  console.log('User:', Usion.user.getName());
@@ -135,8 +135,8 @@ Usion.log(message) // Debug log
135
135
  Full type declarations included:
136
136
 
137
137
  ```typescript
138
- import Usion from '@usion/sdk';
139
- import type { UsionConfig, GameModule, PlayerJoinedData } from '@usion/sdk';
138
+ import Usion from '@usions/sdk';
139
+ import type { UsionConfig, GameModule, PlayerJoinedData } from '@usions/sdk';
140
140
  ```
141
141
 
142
142
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usions/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Usion Mini App SDK for iframe games and services",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @usion/sdk — ES module wrapper for the Usion Mini App SDK
2
+ * @usions/sdk — ES module wrapper for the Usion Mini App SDK
3
3
  *
4
4
  * Usage:
5
- * import Usion from '@usion/sdk';
5
+ * import Usion from '@usions/sdk';
6
6
  * // or
7
- * import { Usion } from '@usion/sdk';
7
+ * import { Usion } from '@usions/sdk';
8
8
  */
9
9
 
10
10
  // Create a synthetic global for the IIFE to attach to