Skip to content

Commit

Permalink
Merge pull request #70 from privy-open-source/release/1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adenvt authored May 26, 2023
2 parents bf6eeb0 + 81c15b4 commit f5d118a
Show file tree
Hide file tree
Showing 21 changed files with 362 additions and 352 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

> PrivyID's Official Client Integration Library for signing.
🚧 This project is under development. Not ready for public use yet.

</div>

## Getting Started
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@privyid/pena-monorepo",
"description": "PrivyID's Official Client Integration Library for signing.",
"packageManager": "[email protected]",
"version": "0.3.0",
"version": "1.0.0",
"private": true,
"scripts": {
"lint": "eslint . --ext .js,.ts,.jsx,.tsx,.vue",
Expand All @@ -26,8 +26,8 @@
"packages/*"
],
"devDependencies": {
"@privyid/browserslist-config": "^0.9.0",
"@privyid/eslint-config-persona": "^0.9.0",
"@privyid/browserslist-config": "^0.13.0",
"@privyid/eslint-config-persona": "^0.13.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@vue/eslint-config-typescript": "^11.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/pena-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@privyid/pena-angular-workspace",
"description": "Pena plugin for Angular",
"version": "0.3.0",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"dev": "yarn start",
Expand Down Expand Up @@ -32,7 +32,7 @@
"@privyid/browserslist-config": "^0.9.0",
"@types/jasmine": "~4.3.0",
"browserslist-to-esbuild": "^1.2.0",
"jasmine-core": "~4.5.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
Expand Down
29 changes: 15 additions & 14 deletions packages/pena-angular/projects/lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,21 @@ export class AppComponent {

### Input Properties

| Name | Type | Default | Description |
|--------------|---------|:-----------:|--------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `layout` | string | `fixed` | Set layout mode, valid value is `fixed` or `fit`, see the [different][different] |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `ratio` | number | `210 / 297` | Ratio size **(Layout `fixed` only)** |
| Name | Type | Default | Description |
|----------------|------------------|:-----------:|----------------------------------------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `layout` | string | `fixed` | Set layout mode, valid value is `fixed` or `fit`, see the [different][different] |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `ratio` | number | `210 / 297` | Ratio size **(Layout `fixed` only)** |
| `needScrollTo` | number \| string | - | Force user to scroll to target page before doing an action (sign,review,etc). Valid value is a number, or set `last` to target the last page |

### Output Events

Expand Down
2 changes: 1 addition & 1 deletion packages/pena-angular/projects/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@privyid/pena-angular",
"description": "PrivyID's Official Client Integration Library for Angular",
"version": "0.3.0",
"version": "1.0.0",
"peerDependencies": {
"@angular/common": "^15.1.0",
"@angular/core": "^15.1.0",
Expand Down
31 changes: 16 additions & 15 deletions packages/pena-jquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,22 @@ Add this in your HTML

## Options

| Name | Type | Default | Description |
|-----------------|----------|:-----------:|--------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `layout` | string | `fixed` | Set layout mode, valid value is `fixed` or `fit`, see the [different][different] |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `ratio` | number | `210 / 297` | Ratio size **(Layout `fixed` only)** |
| `onAfterAction` | function | - | After action hook |
| Name | Type | Default | Description |
|-----------------|------------------|:-----------:|----------------------------------------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `layout` | string | `fixed` | Set layout mode, valid value is `fixed` or `fit`, see the [different][different] |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `ratio` | number | `210 / 297` | Ratio size **(Layout `fixed` only)** |
| `needScrollTo` | number \| string | - | Force user to scroll to target page before doing an action (sign,review,etc). Valid value is a number, or set `last` to target the last page |
| `onAfterAction` | function | - | After action hook |

## License

Expand Down
2 changes: 1 addition & 1 deletion packages/pena-jquery/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@privyid/pena-jquery",
"description": "PrivyID's Official Client Integration Library for jQuery",
"version": "0.3.0",
"version": "1.0.0",
"type": "module",
"main": "./dist/pena-jquery.umd.cjs",
"module": "./dist/pena-jquery.js",
Expand Down
27 changes: 14 additions & 13 deletions packages/pena-react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,20 @@ export default function App () {

### Props

| Name | Type | Default | Description |
|-----------------|----------|:-------:|--------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `onAfterAction` | function | - | After action hook |
| Name | Type | Default | Description |
|-----------------|------------------|:-------:|----------------------------------------------------------------------------------------------------------------------------------------------|
| `url` | string | - | **(Required)** Document's url |
| `lang` | string | `en` | Set language, valid value is `en` or `id` |
| `visibility` | boolean | `true` | Set signature visibility |
| `privyId` | string | - | Set recipient's privyId |
| `signature` | object | - | Set signature placement<br/> <strong>(Deprecated)</strong> use API to set placement when upload the document |
|`x` | number | - | X Coordinate |
|`y` | number | - | Y Coordinate |
|`page` | number | - | Target page |
|`fixed` | boolean | `false` | Disabled signature for moving |
| `debug` | boolean | `false` | Enable debug mode |
| `needScrollTo` | number \| string | - | Force user to scroll to target page before doing an action (sign,review,etc). Valid value is a number, or set `last` to target the last page |
| `onAfterAction` | function | - | After action hook |


## License
Expand Down
Loading

0 comments on commit f5d118a

Please sign in to comment.