Skip to content

Commit 125cdcf

Browse files
authored
Merge pull request #36 from codenotary/fix/imports
Fix organization imports
2 parents b1b4299 + 4ce86e4 commit 125cdcf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+68
-108
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
npm run build
3030
- name: Run overview showcase
3131
run: |
32-
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
32+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
3333
npx ts-node --esm ./immudb-node-showcase/src/overview-showcase.ts
3434
docker stop immudb
3535
- name: Run sql showcase
3636
run: |
37-
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
37+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
3838
npx ts-node --esm ./immudb-node-showcase/src/sql-showcase.ts
3939
docker stop immudb
4040
- name: Run zSet showcase
4141
run: |
42-
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
42+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
4343
npx ts-node --esm ./immudb-node-showcase/src/zSet-showcase.ts
4444
docker stop immudb

immudb-node-doc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codenotary/immudb-node-doc",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

immudb-node-grpcjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codenotary/immudb-node-grpcjs",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

immudb-node-pbjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codenotary/immudb-node-pbjs",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

immudb-node-showcase/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codenotary/immudb-node-showcase",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"dependencies": {
22-
"@codenotary/immudb-node": "2.0.0-alpha.0",
22+
"@codenotary/immudb-node": "2.0.0-alpha.1",
2323
"long": "^5.2.0"
2424
},
2525
"devDependencies": {

immudb-node-showcase/src/overview-showcase.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
verifyVerification,
55
types,
66
stream,
7-
} from 'immudb-node'
7+
} from '@codenotary/immudb-node'
88

99

1010

immudb-node-showcase/src/sql-showcase.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
verifyVerification,
1212
types,
1313
stream,
14-
} from 'immudb-node'
14+
} from '@codenotary/immudb-node'
1515

1616

1717

immudb-node-showcase/src/zSet-showcase.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
verifyVerification,
55
types,
66
stream,
7-
} from 'immudb-node'
7+
} from '@codenotary/immudb-node'
88

99

1010

immudb-node/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codenotary/immudb-node",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",
@@ -34,8 +34,8 @@
3434
"types": "dist/index.d.ts",
3535
"dependencies": {
3636
"@grpc/grpc-js": "^1.7.0",
37-
"@codenotary/immudb-node-grpcjs": "2.0.0-alpha.0",
38-
"@codenotary/immudb-node-pbjs": "2.0.0-alpha.0",
37+
"@codenotary/immudb-node-grpcjs": "2.0.0-alpha.1",
38+
"@codenotary/immudb-node-pbjs": "2.0.0-alpha.1",
3939
"long": "^5.2.0"
4040
},
4141
"devDependencies": {

immudb-node/src/immu-api/db.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type * as immu from '../types/index.js'
22
import * as igd from '../immu-grpc-db.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'
5-
import type * as igrpc from 'immudb-node-grpcjs'
5+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
66

77

88

immudb-node/src/immu-api/delete-val-ref.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as grpcjs from '@grpc/grpc-js'
33
import * as immuGrpc from '../immu-grpc/index.js'
44
import * as igt from '../immu-grpc-tx/index.js'

immudb-node/src/immu-api/get.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Long from 'long'
2-
import type * as igrpc from 'immudb-node-grpcjs'
2+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'
55
import * as ige from '../immu-grpc-entry/index.js'

immudb-node/src/immu-api/history.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as grpcjs from '@grpc/grpc-js'
33
import * as immuGrpc from '../immu-grpc/index.js'
44
import * as ige from '../immu-grpc-entry/index.js'

immudb-node/src/immu-api/instance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/scan-txes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as grpcjs from '@grpc/grpc-js'
33
import * as immuGrpc from '../immu-grpc/index.js'
44
import Long from 'long'

immudb-node/src/immu-api/scan-val-ref-entries.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import { Buffer } from 'node:buffer'
33
import Long from 'long'
44
import * as grpcjs from '@grpc/grpc-js'

immudb-node/src/immu-api/scan-zSet-entries.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as grpcjs from '@grpc/grpc-js'
33
import * as immuGrpc from '../immu-grpc/index.js'
44
import * as ige from '../immu-grpc-entry/index.js'

immudb-node/src/immu-api/session.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as igs from '../immu-grpc-session/index.js'
44
import * as grpcjs from '@grpc/grpc-js'

immudb-node/src/immu-api/set-ref-entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as igp from '../immu-grpc-precond/index.js'
44
import * as grpcjs from '@grpc/grpc-js'

immudb-node/src/immu-api/set-val-entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/set-val-ref-zSet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as igp from '../immu-grpc-precond/index.js'
44
import * as igt from '../immu-grpc-tx/index.js'

immudb-node/src/immu-api/set-z-entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as igt from '../immu-grpc-tx/index.js'
44
import * as grpcjs from '@grpc/grpc-js'

immudb-node/src/immu-api/sql-exec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/sql-query.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/sql-tx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as ip from '../immu-permission.js'
44
import * as grpcjs from '@grpc/grpc-js'

immudb-node/src/immu-api/verification-get-sql-row.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/verification-get-tx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/verification-get-val-ref.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/verification-set-ref.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/verification-set-val.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-api/verification-set-zSet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as grpcjs from '@grpc/grpc-js'
44
import * as immuGrpc from '../immu-grpc/index.js'

immudb-node/src/immu-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as api from './immu-api/index.js'
22
import * as session from './immu-session.js'
33
import * as grpcjs from '@grpc/grpc-js'
4-
import * as igrpc from 'immudb-node-grpcjs'
4+
import * as igrpc from '@codenotary/immudb-node-grpcjs'
55
import type * as immu from './types/index.js'
66

77

immudb-node/src/immu-grpc-db.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type * as immu from './types/index.js'
2-
import type * as igrpc from 'immudb-node-grpcjs'
2+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
33

44

55

immudb-node/src/immu-grpc-entry/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import { kvmhToEntry } from './kvmh.js'
44

immudb-node/src/immu-grpc-precond/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33

44

immudb-node/src/immu-grpc-session/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import { Buffer } from 'node:buffer'
33
import type * as immu from '../types/index.js'
44

immudb-node/src/immu-grpc-sql/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type * as immu from "../types/index.js";
2-
import type * as igrpc from 'immudb-node-grpcjs'
2+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
33

44

55

immudb-node/src/immu-grpc-tx/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33

44

immudb-node/src/immu-grpc-verification/entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import * as ige from '../immu-grpc-entry/index.js'
44
import * as ike from '../immu-kvm-entry/index.js'

immudb-node/src/immu-grpc-verification/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import Long from 'long'
44
import { grpcDualProofToVerificationTx } from './tx.js'

immudb-node/src/immu-grpc-verification/tx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs';
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs';
22
import type * as immu from '../types/index.js'
33
import * as binEntry from '../immu-entry/index.js'
44
import Long from 'long'

immudb-node/src/immu-grpc/reader-call.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as igrpc from 'immudb-node-grpcjs'
1+
import * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as promis from '../grpc-promis/index.js'
33

44

immudb-node/src/immu-grpc/unary-call.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as promis from '../grpc-promis/index.js'
33

44

immudb-node/src/immu-grpc/writer-call.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import * as promis from '../grpc-promis/index.js'
33

44

immudb-node/src/immu-kvm-entry/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as igrpc from 'immudb-node-grpcjs'
1+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
22
import type * as immu from '../types/index.js'
33
import Long from 'long'
44

immudb-node/src/immu-stream-kv/execEntry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as pb from 'immudb-node-pbjs'
1+
import * as pb from '@codenotary/immudb-node-pbjs'
22
import { fromKVEntry } from './kvEntry.js'
33
import Long from 'long'
44
import * as buffer from '../buffer.js'

immudb-node/src/immu-stream-kv/kvEntryAndProof.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Buffer } from 'node:buffer'
2-
import * as pbImmu from 'immudb-node-pbjs'
2+
import * as pbImmu from '@codenotary/immudb-node-pbjs'
33
// import * as _pbImmu from '../pb/immu.js'
44
// import pbImmu = _pbImmu.immudb.schema
55

immudb-node/src/immu-tx-core.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type * as immu from './types/index.js'
2-
import type * as igrpc from 'immudb-node-grpcjs'
2+
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
33

44

55
export function fromGrpcTxHeader(

0 commit comments

Comments
 (0)