@nurama/sdk 1.4.4 → 1.4.5

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,7 +5,7 @@ Provides API, web-socket, and additional utilities for interfacing with the Nura
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install nurama-sdk
8
+ npm install @nurama/sdk
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -13,7 +13,7 @@ npm install nurama-sdk
13
13
  ### Basic API Usage
14
14
 
15
15
  ```javascript
16
- import NuramaClient from 'nurama-sdk';
16
+ import NuramaClient from '@nurama/sdk';
17
17
 
18
18
  // Create client instance
19
19
  const client = new NuramaClient('https://api.nurama.com', {
@@ -36,7 +36,7 @@ console.log(workspaces);
36
36
  The SDK provides WebSocket functionality for real-time notifications and events. Socket.IO is used under the hood, which handles protocol conversion automatically.
37
37
 
38
38
  ```javascript
39
- import NuramaClient from 'nurama-sdk';
39
+ import NuramaClient from '@nurama/sdk';
40
40
 
41
41
  // Create client instance with a separate WebSocket server URL if needed
42
42
  const client = new NuramaClient('https://api.nurama.com', {
@@ -185,7 +185,7 @@ The `NuramaClient` constructor accepts various options for customization:
185
185
 
186
186
  ```javascript
187
187
  // Import the client
188
- import NuramaClient from 'nurama-sdk';
188
+ import NuramaClient from '@nurama/sdk';
189
189
 
190
190
  // Initialize with options
191
191
  const nurama = new NuramaClient('https://api.nurama.com', {
@@ -668,7 +668,7 @@ await client.notification.getNotifications({
668
668
  The URL parameter utility can also be used independently:
669
669
 
670
670
  ```javascript
671
- import { parseUrlParams, paramsToUrlSearchParams } from 'nurama-sdk/utils/urlParams';
671
+ import { parseUrlParams, paramsToUrlSearchParams } from '@nurama/sdk/utils/urlParams';
672
672
 
673
673
  // Convert parameters to string record
674
674
  const stringParams = parseUrlParams({
@@ -691,7 +691,7 @@ console.log(urlParams.toString()); // "page=1&limit=10&active=true"
691
691
  The utility supports configuration options (though the defaults work well for the Nurama API):
692
692
 
693
693
  ```javascript
694
- import { parseUrlParams } from 'nurama-sdk/utils/urlParams';
694
+ import { parseUrlParams } from '@nurama/sdk/utils/urlParams';
695
695
 
696
696
  const result = parseUrlParams(params, {
697
697
  arrayFormat: 'comma', // 'comma' or 'brackets' (key[]=val1&key[]=val2)
@@ -983,7 +983,7 @@ console.log('Git Commit:', versionInfo.gitCommit);
983
983
  **TypeScript Type:**
984
984
 
985
985
  ```typescript
986
- import { type SDKVersionInfo } from 'nurama-sdk';
986
+ import { type SDKVersionInfo } from '@nurama/sdk';
987
987
 
988
988
  interface SDKVersionInfo {
989
989
  version: string; // Semantic version (e.g., "1.3.3")
@@ -11556,10 +11556,10 @@
11556
11556
 
11557
11557
  // src/version.ts
11558
11558
  var SDK_VERSION = {
11559
- version: "1.4.4",
11560
- buildTimestamp: "2026-10-23T15:39:41.191Z",
11559
+ version: "1.4.5",
11560
+ buildTimestamp: "2026-10-29T06:59:31.498Z",
11561
11561
  buildHash: "b0bbfd265120e5fd826237cc63c5bf7d",
11562
- gitCommit: "7c333f8",
11562
+ gitCommit: "9307f8f",
11563
11563
  dirty: false
11564
11564
  };
11565
11565