@portalshq/nap-sdk 0.4.5 → 0.5.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/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  */
10
10
  /** A parsed NAP URI. */
11
11
  export interface NapUri {
12
- universe: string;
12
+ repository: string;
13
13
  entity_type: string;
14
14
  entity_id: string;
15
15
  fragment?: string;
@@ -74,7 +74,7 @@ export type RemoteEntry = [string, string];
74
74
  /** Repo info result. */
75
75
  export interface RepoInfo {
76
76
  root: string;
77
- universe: string;
77
+ repository: string;
78
78
  }
79
79
  /** Operation result with commit. */
80
80
  export interface CommitResult {
@@ -132,13 +132,13 @@ export declare function parseUri(uri: string): NapUri;
132
132
  /**
133
133
  * Construct a new NAP URI from components.
134
134
  *
135
- * @param universe - Universe name (e.g. `"starwars"`)
135
+ * @param repository - Repository name (e.g. `"starwars"`)
136
136
  * @param entityType - Entity type (e.g. `"character"`)
137
137
  * @param entityId - Entity ID slug (e.g. `"lukeskywalker"`)
138
138
  * @param fragment - Optional query fragment
139
139
  * @returns Parsed URI components
140
140
  */
141
- export declare function uriNew(universe: string, entityType: string, entityId: string, fragment?: string): NapUri;
141
+ export declare function uriNew(repository: string, entityType: string, entityId: string, fragment?: string): NapUri;
142
142
  /**
143
143
  * Return the canonical identity URI (without fragment).
144
144
  *
@@ -156,13 +156,13 @@ export declare function uriManifestPath(uri: string): string;
156
156
  /**
157
157
  * Format URI components into a `nap://` URI string.
158
158
  *
159
- * @param universe - Universe name
159
+ * @param repository - Repository name
160
160
  * @param entityType - Entity type
161
161
  * @param entityId - Entity ID
162
162
  * @param fragment - Optional query fragment
163
163
  * @returns Full NAP URI string
164
164
  */
165
- export declare function uriFormat(universe: string, entityType: string, entityId: string, fragment?: string): string;
165
+ export declare function uriFormat(repository: string, entityType: string, entityId: string, fragment?: string): string;
166
166
  /**
167
167
  * Parse an entity type string.
168
168
  *
@@ -193,13 +193,13 @@ export declare function parseManifest(yamlStr: string): Manifest;
193
193
  /**
194
194
  * Create a new manifest with minimal required fields.
195
195
  *
196
- * @param universe - Universe name
196
+ * @param repository - Repository name
197
197
  * @param entityType - Entity type string
198
198
  * @param entityId - Entity ID slug
199
199
  * @param name - Human-readable name
200
200
  * @returns New manifest
201
201
  */
202
- export declare function manifestNew(universe: string, entityType: string, entityId: string, name: string): Manifest;
202
+ export declare function manifestNew(repository: string, entityType: string, entityId: string, name: string): Manifest;
203
203
  /**
204
204
  * Serialize a manifest object to YAML.
205
205
  *
@@ -339,25 +339,25 @@ export declare function commitNew(author: string, message: string, manifestHash:
339
339
  */
340
340
  export declare function commitVerifyId(commit: Commit): boolean;
341
341
  /**
342
- * Initialize a new NAP universe repository.
342
+ * Initialize a new NAP repository repository.
343
343
  *
344
- * @param universe - Universe name
344
+ * @param repository - Repository name
345
345
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
346
- * @returns Repo info with `root` and `universe`
346
+ * @returns Repo info with `root` and `repository`
347
347
  */
348
- export declare function repoInit(universe: string, basePath?: string): RepoInfo;
348
+ export declare function repoInit(repository: string, basePath?: string): RepoInfo;
349
349
  /**
350
- * Open an existing NAP universe repository.
350
+ * Open an existing NAP repository repository.
351
351
  *
352
- * @param universe - Universe name
352
+ * @param repository - Repository name
353
353
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
354
354
  * @returns Repo info
355
355
  */
356
- export declare function repoOpen(universe: string, basePath?: string): RepoInfo;
356
+ export declare function repoOpen(repository: string, basePath?: string): RepoInfo;
357
357
  /**
358
358
  * Create a new entity manifest and commit it.
359
359
  *
360
- * @param universe - Universe name
360
+ * @param repository - Repository name
361
361
  * @param entityType - Entity type string
362
362
  * @param entityId - Entity ID slug
363
363
  * @param name - Human-readable name
@@ -365,41 +365,41 @@ export declare function repoOpen(universe: string, basePath?: string): RepoInfo;
365
365
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
366
366
  * @returns Object with `manifest` and `commit_hash`
367
367
  */
368
- export declare function repoCreateEntity(universe: string, entityType: string, entityId: string, name: string, author?: string, basePath?: string): CreateEntityResult;
368
+ export declare function repoCreateEntity(repository: string, entityType: string, entityId: string, name: string, author?: string, basePath?: string): CreateEntityResult;
369
369
  /**
370
370
  * Read a manifest from the repository.
371
371
  *
372
- * @param universe - Universe name
372
+ * @param repository - Repository name
373
373
  * @param entityType - Entity type string
374
374
  * @param entityId - Entity ID
375
375
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
376
376
  * @returns Manifest object
377
377
  */
378
- export declare function repoReadManifest(universe: string, entityType: string, entityId: string, basePath?: string): Manifest;
378
+ export declare function repoReadManifest(repository: string, entityType: string, entityId: string, basePath?: string): Manifest;
379
379
  /**
380
380
  * Read a manifest at a specific VCS reference (commit, branch, tag).
381
381
  *
382
- * @param universe - Universe name
382
+ * @param repository - Repository name
383
383
  * @param entityType - Entity type string
384
384
  * @param entityId - Entity ID
385
385
  * @param reference - VCS ref (commit hash, branch name, or tag)
386
386
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
387
387
  * @returns Manifest object
388
388
  */
389
- export declare function repoReadManifestAtRef(universe: string, entityType: string, entityId: string, reference: string, basePath?: string): Manifest;
389
+ export declare function repoReadManifestAtRef(repository: string, entityType: string, entityId: string, reference: string, basePath?: string): Manifest;
390
390
  /**
391
391
  * Write a manifest to the repository (does NOT commit).
392
392
  *
393
- * @param universe - Universe name
393
+ * @param repository - Repository name
394
394
  * @param manifest - Manifest object
395
395
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
396
396
  * @returns The filesystem path where the manifest was written
397
397
  */
398
- export declare function repoWriteManifest(universe: string, manifest: Manifest, basePath?: string): string;
398
+ export declare function repoWriteManifest(repository: string, manifest: Manifest, basePath?: string): string;
399
399
  /**
400
400
  * Commit changes to a manifest.
401
401
  *
402
- * @param universe - Universe name
402
+ * @param repository - Repository name
403
403
  * @param entityType - Entity type string
404
404
  * @param entityId - Entity ID
405
405
  * @param message - Commit message
@@ -408,151 +408,151 @@ export declare function repoWriteManifest(universe: string, manifest: Manifest,
408
408
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
409
409
  * @returns Object with `commit` and `version`
410
410
  */
411
- export declare function repoCommitManifest(universe: string, entityType: string, entityId: string, message: string, author?: string, changes?: Change[], basePath?: string): CommitResult;
411
+ export declare function repoCommitManifest(repository: string, entityType: string, entityId: string, message: string, author?: string, changes?: Change[], basePath?: string): CommitResult;
412
412
  /**
413
413
  * Delete an entity manifest and commit the deletion.
414
414
  *
415
- * @param universe - Universe name
415
+ * @param repository - Repository name
416
416
  * @param entityType - Entity type string
417
417
  * @param entityId - Entity ID
418
418
  * @param author - Author identifier (default: `"nap-sdk"`)
419
419
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
420
420
  * @returns The VCS commit hash of the deletion
421
421
  */
422
- export declare function repoDeleteEntity(universe: string, entityType: string, entityId: string, author?: string, basePath?: string): string;
422
+ export declare function repoDeleteEntity(repository: string, entityType: string, entityId: string, author?: string, basePath?: string): string;
423
423
  /**
424
424
  * Get commit history for an entity.
425
425
  *
426
- * @param universe - Universe name
426
+ * @param repository - Repository name
427
427
  * @param entityType - Entity type string
428
428
  * @param entityId - Entity ID
429
429
  * @param limit - Maximum number of commits (default: 20)
430
430
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
431
431
  * @returns Array of commit entries
432
432
  */
433
- export declare function repoHistory(universe: string, entityType: string, entityId: string, limit?: number, basePath?: string): CommitEntry[];
433
+ export declare function repoHistory(repository: string, entityType: string, entityId: string, limit?: number, basePath?: string): CommitEntry[];
434
434
  /**
435
- * List all entity IDs of a given type in a universe.
435
+ * List all entity IDs of a given type in a repository.
436
436
  *
437
- * @param universe - Universe name
437
+ * @param repository - Repository name
438
438
  * @param entityType - Entity type string
439
439
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
440
440
  * @returns Array of entity ID strings
441
441
  */
442
- export declare function repoListEntities(universe: string, entityType: string, basePath?: string): string[];
442
+ export declare function repoListEntities(repository: string, entityType: string, basePath?: string): string[];
443
443
  /**
444
- * Create a branch in a universe repository.
444
+ * Create a branch in a repository repository.
445
445
  *
446
- * @param universe - Universe name
446
+ * @param repository - Repository name
447
447
  * @param name - Branch name
448
448
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
449
449
  * @returns Success response
450
450
  */
451
- export declare function repoCreateBranch(universe: string, name: string, basePath?: string): SuccessResponse;
451
+ export declare function repoCreateBranch(repository: string, name: string, basePath?: string): SuccessResponse;
452
452
  /**
453
- * Switch to a branch in a universe repository.
453
+ * Switch to a branch in a repository repository.
454
454
  *
455
- * @param universe - Universe name
455
+ * @param repository - Repository name
456
456
  * @param name - Branch name
457
457
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
458
458
  * @returns Success response
459
459
  */
460
- export declare function repoSwitchBranch(universe: string, name: string, basePath?: string): SuccessResponse;
460
+ export declare function repoSwitchBranch(repository: string, name: string, basePath?: string): SuccessResponse;
461
461
  /**
462
- * List all branches in a universe repository.
462
+ * List all branches in a repository repository.
463
463
  *
464
- * @param universe - Universe name
464
+ * @param repository - Repository name
465
465
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
466
466
  * @returns Array of branch names
467
467
  */
468
- export declare function repoListBranches(universe: string, basePath?: string): string[];
468
+ export declare function repoListBranches(repository: string, basePath?: string): string[];
469
469
  /**
470
- * Create a tag in a universe repository.
470
+ * Create a tag in a repository repository.
471
471
  *
472
- * @param universe - Universe name
472
+ * @param repository - Repository name
473
473
  * @param name - Tag name
474
474
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
475
475
  * @returns Success response
476
476
  */
477
- export declare function repoCreateTag(universe: string, name: string, basePath?: string): SuccessResponse;
477
+ export declare function repoCreateTag(repository: string, name: string, basePath?: string): SuccessResponse;
478
478
  /**
479
- * List all tags in a universe repository.
479
+ * List all tags in a repository repository.
480
480
  *
481
- * @param universe - Universe name
481
+ * @param repository - Repository name
482
482
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
483
483
  * @returns Array of tag names
484
484
  */
485
- export declare function repoListTags(universe: string, basePath?: string): string[];
485
+ export declare function repoListTags(repository: string, basePath?: string): string[];
486
486
  /**
487
- * Get the current HEAD hash of a universe repository.
487
+ * Get the current HEAD hash of a repository repository.
488
488
  *
489
- * @param universe - Universe name
489
+ * @param repository - Repository name
490
490
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
491
491
  * @returns The HEAD commit hash
492
492
  */
493
- export declare function repoHeadHash(universe: string, basePath?: string): string;
493
+ export declare function repoHeadHash(repository: string, basePath?: string): string;
494
494
  /**
495
- * Revert a commit across an entire universe.
495
+ * Revert a commit across an entire repository.
496
496
  *
497
- * @param universe - Universe name
497
+ * @param repository - Repository name
498
498
  * @param commitHash - Hash of the commit to revert
499
499
  * @param author - Author identifier (default: `"nap-sdk"`)
500
500
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
501
501
  * @returns The new revert commit hash
502
502
  */
503
- export declare function repoRevertCommit(universe: string, commitHash: string, author?: string, basePath?: string): string;
503
+ export declare function repoRevertCommit(repository: string, commitHash: string, author?: string, basePath?: string): string;
504
504
  /**
505
- * Add a remote to a universe repository.
505
+ * Add a remote to a repository repository.
506
506
  *
507
- * @param universe - Universe name
507
+ * @param repository - Repository name
508
508
  * @param name - Remote name (e.g. `"origin"`)
509
509
  * @param url - Remote URL
510
510
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
511
511
  * @returns Success response
512
512
  */
513
- export declare function repoAddRemote(universe: string, name: string, url: string, basePath?: string): SuccessResponse;
513
+ export declare function repoAddRemote(repository: string, name: string, url: string, basePath?: string): SuccessResponse;
514
514
  /**
515
- * Remove a remote from a universe repository.
515
+ * Remove a remote from a repository repository.
516
516
  *
517
- * @param universe - Universe name
517
+ * @param repository - Repository name
518
518
  * @param name - Remote name to remove
519
519
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
520
520
  * @returns Success response
521
521
  */
522
- export declare function repoRemoveRemote(universe: string, name: string, basePath?: string): SuccessResponse;
522
+ export declare function repoRemoveRemote(repository: string, name: string, basePath?: string): SuccessResponse;
523
523
  /**
524
- * List remotes on a universe repository.
524
+ * List remotes on a repository repository.
525
525
  *
526
- * @param universe - Universe name
526
+ * @param repository - Repository name
527
527
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
528
528
  * @returns Array of `[name, url]` tuples
529
529
  */
530
- export declare function repoListRemotes(universe: string, basePath?: string): RemoteEntry[];
530
+ export declare function repoListRemotes(repository: string, basePath?: string): RemoteEntry[];
531
531
  /**
532
532
  * Push the current branch to a remote.
533
533
  *
534
- * @param universe - Universe name
534
+ * @param repository - Repository name
535
535
  * @param remote - Remote name (optional)
536
536
  * @param branch - Branch to push (optional)
537
537
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
538
538
  * @returns Success response
539
539
  */
540
- export declare function repoPush(universe: string, remote?: string, branch?: string, basePath?: string): SuccessResponse;
540
+ export declare function repoPush(repository: string, remote?: string, branch?: string, basePath?: string): SuccessResponse;
541
541
  /**
542
542
  * Pull the current branch from a remote.
543
543
  *
544
- * @param universe - Universe name
544
+ * @param repository - Repository name
545
545
  * @param remote - Remote name (optional)
546
546
  * @param branch - Branch to pull (optional)
547
547
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
548
548
  * @returns Success response
549
549
  */
550
- export declare function repoPull(universe: string, remote?: string, branch?: string, basePath?: string): SuccessResponse;
550
+ export declare function repoPull(repository: string, remote?: string, branch?: string, basePath?: string): SuccessResponse;
551
551
  /**
552
552
  * Resolve a NAP URI to a manifest or subtree.
553
553
  *
554
554
  * @param uri - NAP URI (e.g. `"nap://starwars/character/lukeskywalker"`)
555
- * @param repoPath - Base directory for universes (defaults to `$NAP_DIR` / `~/.nap`)
555
+ * @param repoPath - Base directory for repositories (defaults to `$NAP_DIR` / `~/.nap`)
556
556
  * @param branch - Optional branch selector
557
557
  * @param commit - Optional commit hash selector (BLAKE3)
558
558
  * @param path - Optional subtree query path
@@ -571,12 +571,12 @@ export declare function resolve(uri: string, repoPath?: string, branch?: string,
571
571
  */
572
572
  export declare function resolveQuery(uri: string, path: string, repoPath?: string): unknown;
573
573
  /**
574
- * List all universe repositories available.
574
+ * List all repository repositories available.
575
575
  *
576
576
  * @param repoPath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
577
- * @returns Array of universe names
577
+ * @returns Array of repository names
578
578
  */
579
- export declare function listUniverses(repoPath?: string): string[];
579
+ export declare function listRepositories(repoPath?: string): string[];
580
580
  /**
581
581
  * Get the JSON Schema for a NAP manifest.
582
582
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAQH,wBAAwB;AACxB,MAAM,WAAW,MAAM;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,6EAA6E;AAC7E,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAChD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ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EAAE,OAAO,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,WAAW,CAMb;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,SAAS,EAAE,CAQb;AAMD;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,aAAa,CAE7C;AAED;;;;;;;;;GASG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAE/E;AAMD;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,CAExE;AAMD;;GAEG;AACH,wBAAgB,OAAO,IAAI,MAAM,CAEhC"}
package/dist/index.js CHANGED
@@ -30,14 +30,14 @@ export function parseUri(uri) {
30
30
  /**
31
31
  * Construct a new NAP URI from components.
32
32
  *
33
- * @param universe - Universe name (e.g. `"starwars"`)
33
+ * @param repository - Repository name (e.g. `"starwars"`)
34
34
  * @param entityType - Entity type (e.g. `"character"`)
35
35
  * @param entityId - Entity ID slug (e.g. `"lukeskywalker"`)
36
36
  * @param fragment - Optional query fragment
37
37
  * @returns Parsed URI components
38
38
  */
39
- export function uriNew(universe, entityType, entityId, fragment) {
40
- return JSON.parse(native.uriNew(universe, entityType, entityId, fragment));
39
+ export function uriNew(repository, entityType, entityId, fragment) {
40
+ return JSON.parse(native.uriNew(repository, entityType, entityId, fragment));
41
41
  }
42
42
  /**
43
43
  * Return the canonical identity URI (without fragment).
@@ -60,14 +60,14 @@ export function uriManifestPath(uri) {
60
60
  /**
61
61
  * Format URI components into a `nap://` URI string.
62
62
  *
63
- * @param universe - Universe name
63
+ * @param repository - Repository name
64
64
  * @param entityType - Entity type
65
65
  * @param entityId - Entity ID
66
66
  * @param fragment - Optional query fragment
67
67
  * @returns Full NAP URI string
68
68
  */
69
- export function uriFormat(universe, entityType, entityId, fragment) {
70
- return native.uriFormat(universe, entityType, entityId, fragment);
69
+ export function uriFormat(repository, entityType, entityId, fragment) {
70
+ return native.uriFormat(repository, entityType, entityId, fragment);
71
71
  }
72
72
  // ═══════════════════════════════════════════════════════════════════════
73
73
  // EntityType Operations
@@ -113,14 +113,14 @@ export function parseManifest(yamlStr) {
113
113
  /**
114
114
  * Create a new manifest with minimal required fields.
115
115
  *
116
- * @param universe - Universe name
116
+ * @param repository - Repository name
117
117
  * @param entityType - Entity type string
118
118
  * @param entityId - Entity ID slug
119
119
  * @param name - Human-readable name
120
120
  * @returns New manifest
121
121
  */
122
- export function manifestNew(universe, entityType, entityId, name) {
123
- return JSON.parse(native.manifestNew(universe, entityType, entityId, name));
122
+ export function manifestNew(repository, entityType, entityId, name) {
123
+ return JSON.parse(native.manifestNew(repository, entityType, entityId, name));
124
124
  }
125
125
  /**
126
126
  * Serialize a manifest object to YAML.
@@ -304,29 +304,29 @@ export function commitVerifyId(commit) {
304
304
  // Repository Operations
305
305
  // ═══════════════════════════════════════════════════════════════════════
306
306
  /**
307
- * Initialize a new NAP universe repository.
307
+ * Initialize a new NAP repository repository.
308
308
  *
309
- * @param universe - Universe name
309
+ * @param repository - Repository name
310
310
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
311
- * @returns Repo info with `root` and `universe`
311
+ * @returns Repo info with `root` and `repository`
312
312
  */
313
- export function repoInit(universe, basePath) {
314
- return JSON.parse(native.repoInit(resolveRepoPath(basePath), universe));
313
+ export function repoInit(repository, basePath) {
314
+ return JSON.parse(native.repoInit(resolveRepoPath(basePath), repository));
315
315
  }
316
316
  /**
317
- * Open an existing NAP universe repository.
317
+ * Open an existing NAP repository repository.
318
318
  *
319
- * @param universe - Universe name
319
+ * @param repository - Repository name
320
320
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
321
321
  * @returns Repo info
322
322
  */
323
- export function repoOpen(universe, basePath) {
324
- return JSON.parse(native.repoOpen(resolveRepoPath(basePath), universe));
323
+ export function repoOpen(repository, basePath) {
324
+ return JSON.parse(native.repoOpen(resolveRepoPath(basePath), repository));
325
325
  }
326
326
  /**
327
327
  * Create a new entity manifest and commit it.
328
328
  *
329
- * @param universe - Universe name
329
+ * @param repository - Repository name
330
330
  * @param entityType - Entity type string
331
331
  * @param entityId - Entity ID slug
332
332
  * @param name - Human-readable name
@@ -334,49 +334,49 @@ export function repoOpen(universe, basePath) {
334
334
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
335
335
  * @returns Object with `manifest` and `commit_hash`
336
336
  */
337
- export function repoCreateEntity(universe, entityType, entityId, name, author = "nap-sdk", basePath) {
338
- return JSON.parse(native.repoCreateEntity(resolveRepoPath(basePath), universe, entityType, entityId, name, author));
337
+ export function repoCreateEntity(repository, entityType, entityId, name, author = "nap-sdk", basePath) {
338
+ return JSON.parse(native.repoCreateEntity(resolveRepoPath(basePath), repository, entityType, entityId, name, author));
339
339
  }
340
340
  /**
341
341
  * Read a manifest from the repository.
342
342
  *
343
- * @param universe - Universe name
343
+ * @param repository - Repository name
344
344
  * @param entityType - Entity type string
345
345
  * @param entityId - Entity ID
346
346
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
347
347
  * @returns Manifest object
348
348
  */
349
- export function repoReadManifest(universe, entityType, entityId, basePath) {
350
- return JSON.parse(native.repoReadManifest(resolveRepoPath(basePath), universe, entityType, entityId));
349
+ export function repoReadManifest(repository, entityType, entityId, basePath) {
350
+ return JSON.parse(native.repoReadManifest(resolveRepoPath(basePath), repository, entityType, entityId));
351
351
  }
352
352
  /**
353
353
  * Read a manifest at a specific VCS reference (commit, branch, tag).
354
354
  *
355
- * @param universe - Universe name
355
+ * @param repository - Repository name
356
356
  * @param entityType - Entity type string
357
357
  * @param entityId - Entity ID
358
358
  * @param reference - VCS ref (commit hash, branch name, or tag)
359
359
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
360
360
  * @returns Manifest object
361
361
  */
362
- export function repoReadManifestAtRef(universe, entityType, entityId, reference, basePath) {
363
- return JSON.parse(native.repoReadManifestAtRef(resolveRepoPath(basePath), universe, entityType, entityId, reference));
362
+ export function repoReadManifestAtRef(repository, entityType, entityId, reference, basePath) {
363
+ return JSON.parse(native.repoReadManifestAtRef(resolveRepoPath(basePath), repository, entityType, entityId, reference));
364
364
  }
365
365
  /**
366
366
  * Write a manifest to the repository (does NOT commit).
367
367
  *
368
- * @param universe - Universe name
368
+ * @param repository - Repository name
369
369
  * @param manifest - Manifest object
370
370
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
371
371
  * @returns The filesystem path where the manifest was written
372
372
  */
373
- export function repoWriteManifest(universe, manifest, basePath) {
374
- return native.repoWriteManifest(resolveRepoPath(basePath), universe, JSON.stringify(manifest));
373
+ export function repoWriteManifest(repository, manifest, basePath) {
374
+ return native.repoWriteManifest(resolveRepoPath(basePath), repository, JSON.stringify(manifest));
375
375
  }
376
376
  /**
377
377
  * Commit changes to a manifest.
378
378
  *
379
- * @param universe - Universe name
379
+ * @param repository - Repository name
380
380
  * @param entityType - Entity type string
381
381
  * @param entityId - Entity ID
382
382
  * @param message - Commit message
@@ -385,177 +385,177 @@ export function repoWriteManifest(universe, manifest, basePath) {
385
385
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
386
386
  * @returns Object with `commit` and `version`
387
387
  */
388
- export function repoCommitManifest(universe, entityType, entityId, message, author = "nap-sdk", changes = [], basePath) {
389
- return JSON.parse(native.repoCommitManifest(resolveRepoPath(basePath), universe, entityType, entityId, message, author, JSON.stringify(changes)));
388
+ export function repoCommitManifest(repository, entityType, entityId, message, author = "nap-sdk", changes = [], basePath) {
389
+ return JSON.parse(native.repoCommitManifest(resolveRepoPath(basePath), repository, entityType, entityId, message, author, JSON.stringify(changes)));
390
390
  }
391
391
  /**
392
392
  * Delete an entity manifest and commit the deletion.
393
393
  *
394
- * @param universe - Universe name
394
+ * @param repository - Repository name
395
395
  * @param entityType - Entity type string
396
396
  * @param entityId - Entity ID
397
397
  * @param author - Author identifier (default: `"nap-sdk"`)
398
398
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
399
399
  * @returns The VCS commit hash of the deletion
400
400
  */
401
- export function repoDeleteEntity(universe, entityType, entityId, author = "nap-sdk", basePath) {
402
- return native.repoDeleteEntity(resolveRepoPath(basePath), universe, entityType, entityId, author);
401
+ export function repoDeleteEntity(repository, entityType, entityId, author = "nap-sdk", basePath) {
402
+ return native.repoDeleteEntity(resolveRepoPath(basePath), repository, entityType, entityId, author);
403
403
  }
404
404
  /**
405
405
  * Get commit history for an entity.
406
406
  *
407
- * @param universe - Universe name
407
+ * @param repository - Repository name
408
408
  * @param entityType - Entity type string
409
409
  * @param entityId - Entity ID
410
410
  * @param limit - Maximum number of commits (default: 20)
411
411
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
412
412
  * @returns Array of commit entries
413
413
  */
414
- export function repoHistory(universe, entityType, entityId, limit = 20, basePath) {
415
- return JSON.parse(native.repoHistory(resolveRepoPath(basePath), universe, entityType, entityId, limit));
414
+ export function repoHistory(repository, entityType, entityId, limit = 20, basePath) {
415
+ return JSON.parse(native.repoHistory(resolveRepoPath(basePath), repository, entityType, entityId, limit));
416
416
  }
417
417
  /**
418
- * List all entity IDs of a given type in a universe.
418
+ * List all entity IDs of a given type in a repository.
419
419
  *
420
- * @param universe - Universe name
420
+ * @param repository - Repository name
421
421
  * @param entityType - Entity type string
422
422
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
423
423
  * @returns Array of entity ID strings
424
424
  */
425
- export function repoListEntities(universe, entityType, basePath) {
426
- return JSON.parse(native.repoListEntities(resolveRepoPath(basePath), universe, entityType));
425
+ export function repoListEntities(repository, entityType, basePath) {
426
+ return JSON.parse(native.repoListEntities(resolveRepoPath(basePath), repository, entityType));
427
427
  }
428
428
  /**
429
- * Create a branch in a universe repository.
429
+ * Create a branch in a repository repository.
430
430
  *
431
- * @param universe - Universe name
431
+ * @param repository - Repository name
432
432
  * @param name - Branch name
433
433
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
434
434
  * @returns Success response
435
435
  */
436
- export function repoCreateBranch(universe, name, basePath) {
437
- return JSON.parse(native.repoCreateBranch(resolveRepoPath(basePath), universe, name));
436
+ export function repoCreateBranch(repository, name, basePath) {
437
+ return JSON.parse(native.repoCreateBranch(resolveRepoPath(basePath), repository, name));
438
438
  }
439
439
  /**
440
- * Switch to a branch in a universe repository.
440
+ * Switch to a branch in a repository repository.
441
441
  *
442
- * @param universe - Universe name
442
+ * @param repository - Repository name
443
443
  * @param name - Branch name
444
444
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
445
445
  * @returns Success response
446
446
  */
447
- export function repoSwitchBranch(universe, name, basePath) {
448
- return JSON.parse(native.repoSwitchBranch(resolveRepoPath(basePath), universe, name));
447
+ export function repoSwitchBranch(repository, name, basePath) {
448
+ return JSON.parse(native.repoSwitchBranch(resolveRepoPath(basePath), repository, name));
449
449
  }
450
450
  /**
451
- * List all branches in a universe repository.
451
+ * List all branches in a repository repository.
452
452
  *
453
- * @param universe - Universe name
453
+ * @param repository - Repository name
454
454
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
455
455
  * @returns Array of branch names
456
456
  */
457
- export function repoListBranches(universe, basePath) {
458
- return JSON.parse(native.repoListBranches(resolveRepoPath(basePath), universe));
457
+ export function repoListBranches(repository, basePath) {
458
+ return JSON.parse(native.repoListBranches(resolveRepoPath(basePath), repository));
459
459
  }
460
460
  /**
461
- * Create a tag in a universe repository.
461
+ * Create a tag in a repository repository.
462
462
  *
463
- * @param universe - Universe name
463
+ * @param repository - Repository name
464
464
  * @param name - Tag name
465
465
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
466
466
  * @returns Success response
467
467
  */
468
- export function repoCreateTag(universe, name, basePath) {
469
- return JSON.parse(native.repoCreateTag(resolveRepoPath(basePath), universe, name));
468
+ export function repoCreateTag(repository, name, basePath) {
469
+ return JSON.parse(native.repoCreateTag(resolveRepoPath(basePath), repository, name));
470
470
  }
471
471
  /**
472
- * List all tags in a universe repository.
472
+ * List all tags in a repository repository.
473
473
  *
474
- * @param universe - Universe name
474
+ * @param repository - Repository name
475
475
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
476
476
  * @returns Array of tag names
477
477
  */
478
- export function repoListTags(universe, basePath) {
479
- return JSON.parse(native.repoListTags(resolveRepoPath(basePath), universe));
478
+ export function repoListTags(repository, basePath) {
479
+ return JSON.parse(native.repoListTags(resolveRepoPath(basePath), repository));
480
480
  }
481
481
  /**
482
- * Get the current HEAD hash of a universe repository.
482
+ * Get the current HEAD hash of a repository repository.
483
483
  *
484
- * @param universe - Universe name
484
+ * @param repository - Repository name
485
485
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
486
486
  * @returns The HEAD commit hash
487
487
  */
488
- export function repoHeadHash(universe, basePath) {
489
- return native.repoHeadHash(resolveRepoPath(basePath), universe);
488
+ export function repoHeadHash(repository, basePath) {
489
+ return native.repoHeadHash(resolveRepoPath(basePath), repository);
490
490
  }
491
491
  /**
492
- * Revert a commit across an entire universe.
492
+ * Revert a commit across an entire repository.
493
493
  *
494
- * @param universe - Universe name
494
+ * @param repository - Repository name
495
495
  * @param commitHash - Hash of the commit to revert
496
496
  * @param author - Author identifier (default: `"nap-sdk"`)
497
497
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
498
498
  * @returns The new revert commit hash
499
499
  */
500
- export function repoRevertCommit(universe, commitHash, author = "nap-sdk", basePath) {
501
- return native.repoRevertCommit(resolveRepoPath(basePath), universe, commitHash, author);
500
+ export function repoRevertCommit(repository, commitHash, author = "nap-sdk", basePath) {
501
+ return native.repoRevertCommit(resolveRepoPath(basePath), repository, commitHash, author);
502
502
  }
503
503
  /**
504
- * Add a remote to a universe repository.
504
+ * Add a remote to a repository repository.
505
505
  *
506
- * @param universe - Universe name
506
+ * @param repository - Repository name
507
507
  * @param name - Remote name (e.g. `"origin"`)
508
508
  * @param url - Remote URL
509
509
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
510
510
  * @returns Success response
511
511
  */
512
- export function repoAddRemote(universe, name, url, basePath) {
513
- return JSON.parse(native.repoAddRemote(resolveRepoPath(basePath), universe, name, url));
512
+ export function repoAddRemote(repository, name, url, basePath) {
513
+ return JSON.parse(native.repoAddRemote(resolveRepoPath(basePath), repository, name, url));
514
514
  }
515
515
  /**
516
- * Remove a remote from a universe repository.
516
+ * Remove a remote from a repository repository.
517
517
  *
518
- * @param universe - Universe name
518
+ * @param repository - Repository name
519
519
  * @param name - Remote name to remove
520
520
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
521
521
  * @returns Success response
522
522
  */
523
- export function repoRemoveRemote(universe, name, basePath) {
524
- return JSON.parse(native.repoRemoveRemote(resolveRepoPath(basePath), universe, name));
523
+ export function repoRemoveRemote(repository, name, basePath) {
524
+ return JSON.parse(native.repoRemoveRemote(resolveRepoPath(basePath), repository, name));
525
525
  }
526
526
  /**
527
- * List remotes on a universe repository.
527
+ * List remotes on a repository repository.
528
528
  *
529
- * @param universe - Universe name
529
+ * @param repository - Repository name
530
530
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
531
531
  * @returns Array of `[name, url]` tuples
532
532
  */
533
- export function repoListRemotes(universe, basePath) {
534
- return JSON.parse(native.repoListRemotes(resolveRepoPath(basePath), universe));
533
+ export function repoListRemotes(repository, basePath) {
534
+ return JSON.parse(native.repoListRemotes(resolveRepoPath(basePath), repository));
535
535
  }
536
536
  /**
537
537
  * Push the current branch to a remote.
538
538
  *
539
- * @param universe - Universe name
539
+ * @param repository - Repository name
540
540
  * @param remote - Remote name (optional)
541
541
  * @param branch - Branch to push (optional)
542
542
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
543
543
  * @returns Success response
544
544
  */
545
- export function repoPush(universe, remote, branch, basePath) {
546
- return JSON.parse(native.repoPush(resolveRepoPath(basePath), universe, remote, branch));
545
+ export function repoPush(repository, remote, branch, basePath) {
546
+ return JSON.parse(native.repoPush(resolveRepoPath(basePath), repository, remote, branch));
547
547
  }
548
548
  /**
549
549
  * Pull the current branch from a remote.
550
550
  *
551
- * @param universe - Universe name
551
+ * @param repository - Repository name
552
552
  * @param remote - Remote name (optional)
553
553
  * @param branch - Branch to pull (optional)
554
554
  * @param basePath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
555
555
  * @returns Success response
556
556
  */
557
- export function repoPull(universe, remote, branch, basePath) {
558
- return JSON.parse(native.repoPull(resolveRepoPath(basePath), universe, remote, branch));
557
+ export function repoPull(repository, remote, branch, basePath) {
558
+ return JSON.parse(native.repoPull(resolveRepoPath(basePath), repository, remote, branch));
559
559
  }
560
560
  // ═══════════════════════════════════════════════════════════════════════
561
561
  // Resolver Operations
@@ -564,7 +564,7 @@ export function repoPull(universe, remote, branch, basePath) {
564
564
  * Resolve a NAP URI to a manifest or subtree.
565
565
  *
566
566
  * @param uri - NAP URI (e.g. `"nap://starwars/character/lukeskywalker"`)
567
- * @param repoPath - Base directory for universes (defaults to `$NAP_DIR` / `~/.nap`)
567
+ * @param repoPath - Base directory for repositories (defaults to `$NAP_DIR` / `~/.nap`)
568
568
  * @param branch - Optional branch selector
569
569
  * @param commit - Optional commit hash selector (BLAKE3)
570
570
  * @param path - Optional subtree query path
@@ -591,13 +591,13 @@ export function resolveQuery(uri, path, repoPath) {
591
591
  return JSON.parse(native.resolveQuery(uri, resolveRepoPath(repoPath), path));
592
592
  }
593
593
  /**
594
- * List all universe repositories available.
594
+ * List all repository repositories available.
595
595
  *
596
596
  * @param repoPath - Base directory (defaults to `$NAP_DIR` / `~/.nap`)
597
- * @returns Array of universe names
597
+ * @returns Array of repository names
598
598
  */
599
- export function listUniverses(repoPath) {
600
- return JSON.parse(native.listUniverses(resolveRepoPath(repoPath)));
599
+ export function listRepositories(repoPath) {
600
+ return JSON.parse(native.listRepositories(resolveRepoPath(repoPath)));
601
601
  }
602
602
  // ═══════════════════════════════════════════════════════════════════════
603
603
  // Schema Operations
package/dist/native.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  interface NativeBindings {
2
2
  parseUri(uri: string): string;
3
- uriNew(universe: string, entityType: string, entityId: string, fragment?: string): string;
3
+ uriNew(repository: string, entityType: string, entityId: string, fragment?: string): string;
4
4
  uriIdentity(uri: string): string;
5
5
  uriManifestPath(uri: string): string;
6
- uriFormat(universe: string, entityType: string, entityId: string, fragment?: string): string;
6
+ uriFormat(repository: string, entityType: string, entityId: string, fragment?: string): string;
7
7
  entityTypeParse(s: string): string;
8
8
  entityTypeDirectoryName(entityType: string): string;
9
9
  entityTypeList(): string;
10
10
  parseManifest(yamlStr: string): string;
11
- manifestNew(universe: string, entityType: string, entityId: string, name: string): string;
11
+ manifestNew(repository: string, entityType: string, entityId: string, name: string): string;
12
12
  manifestToYaml(jsonStr: string): string;
13
13
  manifestFromYaml(yamlStr: string): string;
14
14
  manifestContentHash(jsonStr: string): string;
@@ -26,32 +26,32 @@ interface NativeBindings {
26
26
  changeAppend(path: string, newValue: string): string;
27
27
  commitNew(parent: string | undefined | null, author: string, message: string, manifestHash: string, changesJson: string): string;
28
28
  commitVerifyId(jsonStr: string): boolean;
29
- repoInit(basePath: string, universe: string): string;
30
- repoOpen(basePath: string, universe: string): string;
31
- repoCreateEntity(basePath: string, universe: string, entityType: string, entityId: string, name: string, author: string): string;
32
- repoReadManifest(basePath: string, universe: string, entityType: string, entityId: string): string;
33
- repoReadManifestAtRef(basePath: string, universe: string, entityType: string, entityId: string, reference: string): string;
34
- repoWriteManifest(basePath: string, universe: string, manifestJson: string): string;
35
- repoCommitManifest(basePath: string, universe: string, entityType: string, entityId: string, message: string, author: string, changesJson: string): string;
36
- repoDeleteEntity(basePath: string, universe: string, entityType: string, entityId: string, author: string): string;
37
- repoHistory(basePath: string, universe: string, entityType: string, entityId: string, limit: number): string;
38
- repoListEntities(basePath: string, universe: string, entityType: string): string;
39
- repoCreateBranch(basePath: string, universe: string, name: string): string;
40
- repoSwitchBranch(basePath: string, universe: string, name: string): string;
41
- repoListBranches(basePath: string, universe: string): string;
42
- repoCreateTag(basePath: string, universe: string, name: string): string;
43
- repoListTags(basePath: string, universe: string): string;
44
- repoHeadHash(basePath: string, universe: string): string;
45
- repoRevertCommit(basePath: string, universe: string, commitHash: string, author: string): string;
46
- repoAddRemote(basePath: string, universe: string, name: string, url: string): string;
47
- repoRemoveRemote(basePath: string, universe: string, name: string): string;
48
- repoListRemotes(basePath: string, universe: string): string;
49
- repoPush(basePath: string, universe: string, remote?: string, branch?: string): string;
50
- repoPull(basePath: string, universe: string, remote?: string, branch?: string): string;
29
+ repoInit(basePath: string, repository: string): string;
30
+ repoOpen(basePath: string, repository: string): string;
31
+ repoCreateEntity(basePath: string, repository: string, entityType: string, entityId: string, name: string, author: string): string;
32
+ repoReadManifest(basePath: string, repository: string, entityType: string, entityId: string): string;
33
+ repoReadManifestAtRef(basePath: string, repository: string, entityType: string, entityId: string, reference: string): string;
34
+ repoWriteManifest(basePath: string, repository: string, manifestJson: string): string;
35
+ repoCommitManifest(basePath: string, repository: string, entityType: string, entityId: string, message: string, author: string, changesJson: string): string;
36
+ repoDeleteEntity(basePath: string, repository: string, entityType: string, entityId: string, author: string): string;
37
+ repoHistory(basePath: string, repository: string, entityType: string, entityId: string, limit: number): string;
38
+ repoListEntities(basePath: string, repository: string, entityType: string): string;
39
+ repoCreateBranch(basePath: string, repository: string, name: string): string;
40
+ repoSwitchBranch(basePath: string, repository: string, name: string): string;
41
+ repoListBranches(basePath: string, repository: string): string;
42
+ repoCreateTag(basePath: string, repository: string, name: string): string;
43
+ repoListTags(basePath: string, repository: string): string;
44
+ repoHeadHash(basePath: string, repository: string): string;
45
+ repoRevertCommit(basePath: string, repository: string, commitHash: string, author: string): string;
46
+ repoAddRemote(basePath: string, repository: string, name: string, url: string): string;
47
+ repoRemoveRemote(basePath: string, repository: string, name: string): string;
48
+ repoListRemotes(basePath: string, repository: string): string;
49
+ repoPush(basePath: string, repository: string, remote?: string, branch?: string): string;
50
+ repoPull(basePath: string, repository: string, remote?: string, branch?: string): string;
51
51
  resolve(uri: string, repoPath: string): string;
52
52
  resolveWithOptions(uri: string, repoPath: string, branch?: string, commit?: string, tag?: string, path?: string): string;
53
53
  resolveQuery(uri: string, repoPath: string, path: string): string;
54
- listUniverses(repoPath: string): string;
54
+ listRepositories(repoPath: string): string;
55
55
  manifestSchema(): string;
56
56
  commitSchema(): string;
57
57
  validateManifest(jsonStr: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"native.d.ts","sourceRoot":"","sources":["../src/native.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IAEtB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1F,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAG7F,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IACpD,cAAc,IAAI,MAA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,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IACxF,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAGvE,aAAa,IAAI,MAAM,CAAC;IACxB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAG3D,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAGjD,OAAO,IAAI,MAAM,CAAC;CACnB;AAGD,QAAA,MAAM,MAAM,EAA8B,cAAc,CAAC;AAEzD,eAAe,MAAM,CAAC"}
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portalshq/nap-sdk",
3
- "version": "0.4.5",
3
+ "version": "0.5.0",
4
4
  "description": "TypeScript SDK for NAP (Narrative Addressing Protocol), powered by Rust and NAPI-RS.",
5
5
  "publishConfig": {
6
6
  "access": "public"