@legit-sdk/core 0.1.8 → 0.1.10

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
@@ -35,7 +35,7 @@ For this guide, we focus on **Node.js**. Later guides will cover Python, Java, a
35
35
  ### 1. Install the SDK
36
36
 
37
37
  ```bash
38
- npm install legit-sdk
38
+ npm install @legit-sdk/core
39
39
  ```
40
40
 
41
41
  > This package provides everything you need: creating a LegitFS instance, reading/writing files, and accessing version history.
@@ -44,7 +44,7 @@ npm install legit-sdk
44
44
 
45
45
  ```typescript
46
46
  import { fs } from 'memfs';
47
- import { initLegitFs } from 'legit-sdk';
47
+ import { initLegitFs } from '@legit-sdk/core';
48
48
 
49
49
  async function main() {
50
50
  // create a LegitFS instance backed by memfs
package/dist/index.d.ts CHANGED
@@ -734,6 +734,7 @@ type Operation = {
734
734
  oid: string;
735
735
  parentOids: string[];
736
736
  message: string;
737
+ originBranchOid?: string;
737
738
  };
738
739
  declare const gitBranchOperationsVirtualFile: VirtualFileDefinition;
739
740