Skip to content

Commit a34a2a7

Browse files
committed
README and package update
1 parent 28a72a8 commit a34a2a7

23 files changed

Lines changed: 55 additions & 44 deletions

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ To get started with the Hypersync SDK hop on over to the [SDK documentation](doc
88

99
## Release Notes
1010

11+
### 4.0.0
12+
13+
- **Breaking:** Updated to Node.js 22
14+
- **Breaking:** Updated to `@hyperproof/hypersync-models` 6.0.0 and `@hyperproof/integration-sdk` 2.0.0
15+
- Added `ServiceDataIterator` class for iterative data fetching with support for dataset and criteria-sourced iteration
16+
- Enhanced `JsonProofProvider` with iterator support for generating proofs from iterable data
17+
- Improved `JsonCriteriaProvider` with saved criteria settings and search input handling
18+
- Enhanced `RestDataSourceBase` with improved pagination and error handling
19+
- Added `continueOnError` support in data set lookups
20+
- Plus other bug fixes and performance enhancements
21+
1122
### 3.2.0
1223

1324
- Integrate latest Integration SDK which contains reliability improvements and bug fixes.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperproof/hypersync-sdk",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"description": "Hypersync SDK",
55
"license": "MIT",
66
"repository": {
@@ -10,24 +10,25 @@
1010
"main": "lib/index.js",
1111
"types": "lib/index.d.ts",
1212
"scripts": {
13-
"build": "tsc && copyfiles -u 1 \"src/**/*.d.ts\" lib",
13+
"build": "tsc",
1414
"lint": "./node_modules/eslint/bin/eslint.js src/**/*.ts"
1515
},
1616
"engines": {
17-
"node": "^16.19.1 || ^18.17.1"
17+
"node": "22"
1818
},
1919
"dependencies": {
20-
"@hyperproof/hypersync-models": "5.1.0",
21-
"@hyperproof/integration-sdk": "1.2.0",
20+
"@hyperproof/hypersync-models": "6.0.0",
21+
"@hyperproof/integration-sdk": "2.0.0",
2222
"@js-joda/core": "3.2.0",
2323
"@js-joda/timezone": "2.5.0",
2424
"abort-controller": "3.0.0",
25-
"express": "4.21.0",
25+
"express": "4.21.2",
2626
"html-entities": "2.5.2",
2727
"http-errors": "2.0.0",
2828
"http-status-codes": "2.3.0",
2929
"jsonata": "1.8.7",
3030
"jsonwebtoken": "9.0.2",
31+
"lodash": "4.17.21",
3132
"mime": "3.0.0",
3233
"node-fetch": "2.7.0",
3334
"query-string": "7.1.3",
@@ -40,13 +41,12 @@
4041
"@types/express": "^4.17.21",
4142
"@types/http-errors": "^2.0.0",
4243
"@types/jsonwebtoken": "^9.0.0",
44+
"@types/lodash": "^4.14.202",
4345
"@types/mime": "^3.0.4",
44-
"@types/node": "^22.7.5",
45-
"@types/node-fetch": "^2.6.11",
46+
"@types/node-fetch": "^2.6.13",
4647
"@types/superagent": "^8.1.9",
4748
"@typescript-eslint/eslint-plugin": "8.7.0",
4849
"@typescript-eslint/parser": "8.7.0",
49-
"copyfiles": "^2.4.1",
5050
"eslint": "8.57.1",
5151
"eslint-config-prettier": "^8.5.0",
5252
"prettier": "^2.6.1",

src/hypersync/DataSourceBase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
SyncMetadata
77
} from './IDataSource';
88

9-
import { DataObject, DataValueMap } from '@hyperproof-int/hypersync-models';
10-
import { ILocalizable } from '@hyperproof-int/integration-sdk';
9+
import { DataObject, DataValueMap } from '@hyperproof/hypersync-models';
10+
import { ILocalizable } from '@hyperproof/integration-sdk';
1111

1212
/**
1313
* Abstract base class for a data source object. Provides convenient

src/hypersync/HypersyncApp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
IHypersyncDefinition,
3636
SchemaCategory,
3737
ValueLookup
38-
} from '@hyperproof-int/hypersync-models';
38+
} from '@hyperproof/hypersync-models';
3939
import {
4040
AuthorizationType,
4141
createApp,
@@ -56,7 +56,7 @@ import {
5656
OAuthTokenResponse,
5757
ObjectType,
5858
UserContext
59-
} from '@hyperproof-int/integration-sdk';
59+
} from '@hyperproof/integration-sdk';
6060
import express from 'express';
6161
import fs from 'fs';
6262
import createHttpError from 'http-errors';

src/hypersync/ICriteriaProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import {
1111
ISelectOption,
1212
IValidation,
1313
SchemaCategory
14-
} from '@hyperproof-int/hypersync-models';
15-
import { CriteriaPageMessageLevel } from '@hyperproof-int/integration-sdk';
14+
} from '@hyperproof/hypersync-models';
15+
import { CriteriaPageMessageLevel } from '@hyperproof/integration-sdk';
1616

1717
/**
1818
* Information needed to render a criteria field used in the configuration

src/hypersync/IDataSource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { IErrorInfo } from './models';
22
import { RestDataSourceBase } from './RestDataSourceBase';
33
import { TokenContext } from './tokens';
44

5-
import { DataObject, DataValueMap } from '@hyperproof-int/hypersync-models';
6-
import { ILocalizable } from '@hyperproof-int/integration-sdk';
5+
import { DataObject, DataValueMap } from '@hyperproof/hypersync-models';
6+
import { ILocalizable } from '@hyperproof/integration-sdk';
77

88
export enum DataSetResultStatus {
99
Complete = 'complete',

src/hypersync/JsonCriteriaProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import {
1616
ICriteriaSearchInput,
1717
IProofCriterionRef,
1818
ISelectOption
19-
} from '@hyperproof-int/hypersync-models';
20-
import { compareValues, Logger } from '@hyperproof-int/integration-sdk';
19+
} from '@hyperproof/hypersync-models';
20+
import { compareValues, Logger } from '@hyperproof/integration-sdk';
2121
import fs from 'fs';
2222
import path from 'path';
2323

src/hypersync/JsonProofProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import {
3232
IHypersyncField,
3333
IProofSpec,
3434
IteratorSource
35-
} from '@hyperproof-int/hypersync-models';
36-
import { ILocalizable, Logger } from '@hyperproof-int/integration-sdk';
35+
} from '@hyperproof/hypersync-models';
36+
import { ILocalizable, Logger } from '@hyperproof/integration-sdk';
3737
import createHttpError from 'http-errors';
3838
import { StatusCodes } from 'http-status-codes';
3939

src/hypersync/Paginator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
PageUntilCondition,
1414
PagingScheme,
1515
PagingType
16-
} from '@hyperproof-int/hypersync-models';
16+
} from '@hyperproof/hypersync-models';
1717
import jsonata from 'jsonata';
1818
import set from 'lodash/set';
1919

src/hypersync/ProofProviderBase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import {
1919
HypersyncFieldType,
2020
HypersyncPageOrientation,
2121
SchemaCategory
22-
} from '@hyperproof-int/hypersync-models';
23-
import { ILocalizable } from '@hyperproof-int/integration-sdk';
22+
} from '@hyperproof/hypersync-models';
23+
import { ILocalizable } from '@hyperproof/integration-sdk';
2424
import createHttpError from 'http-errors';
2525
import { StatusCodes } from 'http-status-codes';
2626

0 commit comments

Comments
 (0)