@aptly-as/app-sdk
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,1 @@ | ||
import type { RequestInit } from 'node-fetch'; | ||
import { AptlyApi } from './aptly/AptlyApi.js'; | ||
@@ -3,0 +2,0 @@ import { AptlyOrganization } from './aptly/AptlyOrganization.js'; |
@@ -0,0 +0,0 @@ import { AptlyApi } from './aptly/AptlyApi.js'; |
/// <reference types="node" /> | ||
import { AptlyAppJWT } from '@aptly-as/types'; | ||
import { RequestInit, Response } from 'node-fetch'; | ||
export interface AptlyApiOAuth2Response { | ||
@@ -5,0 +4,0 @@ token_type: 'bearer'; |
import { AptlyApiError, AptlyErrorCode } from '@aptly-as/types'; | ||
import jwt from 'jsonwebtoken'; | ||
import fetch, { Headers } from 'node-fetch'; | ||
import { sleep } from '../utils.js'; | ||
@@ -5,0 +4,0 @@ export class AptlyApi { |
@@ -0,0 +0,0 @@ import { AptlyApiQueries, AptlyDocument, AptlySearchPaginateResponse } from '@aptly-as/types'; |
@@ -0,0 +0,0 @@ export class AptlyDocuments { |
@@ -0,0 +0,0 @@ import { AptlyApi } from './AptlyApi.js'; |
@@ -0,0 +0,0 @@ import { AptlyProducts } from './AptlyProducts.js'; |
@@ -0,0 +0,0 @@ import { AptlyApiQueries, AptlyProduct, AptlySearchPaginateResponse } from '@aptly-as/types'; |
@@ -0,0 +0,0 @@ export class AptlyProducts { |
@@ -0,0 +0,0 @@ import { AptlyApiQueries, AptlyProject, AptlySearchPaginateResponse } from '@aptly-as/types'; |
@@ -0,0 +0,0 @@ import { AptlyDocuments } from './AptlyDocuments.js'; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ import { AptlyDocuments } from './AptlyDocuments.js'; |
@@ -0,0 +0,0 @@ import { AptlyWebhook } from '@aptly-as/types'; |
@@ -0,0 +0,0 @@ export class AptlyWebhooks { |
@@ -0,0 +0,0 @@ import { AptlyAppAuthorizeCode } from '@aptly-as/types'; |
@@ -0,0 +0,0 @@ import * as fs from 'fs'; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { URLSearchParams } from 'url'; | ||
@@ -3,0 +4,0 @@ import { AptlyAppAuthorizeCode, AptlyAppAuthorizeToken, AptlyAppScope } from '@aptly-as/types'; |
import jwt from 'jsonwebtoken'; | ||
import { URLSearchParams } from 'url'; | ||
import fetch, { Headers } from 'node-fetch'; | ||
import AptlyCrypto from './AptlyCrypto.js'; | ||
@@ -5,0 +4,0 @@ export class AptlyOAuth2 { |
export * from './Aptly.js'; | ||
export * from './AptlyOAuth2.js'; |
export * from './Aptly.js'; | ||
export * from './AptlyOAuth2.js'; |
export declare const sleep: (ms: number) => Promise<unknown>; |
@@ -0,0 +0,0 @@ export const sleep = (ms) => { |
{ | ||
"name": "@aptly-as/app-sdk", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Aptly app SDK library for app communication and frontend development", | ||
@@ -10,5 +10,2 @@ "type": "module", | ||
"build": "tsc", | ||
"test:watch": "mocha --parallel --watch", | ||
"test:active": "mocha --watch --parallel --grep active:", | ||
"test": "mocha", | ||
"prepublish": "yarn build", | ||
@@ -25,19 +22,11 @@ "postversion": "git push && git push --tags" | ||
"@aptly-as/types": "*", | ||
"@types/chai": "^4.3.0", | ||
"@types/jsonwebtoken": "^8.5.8", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^17.0.18", | ||
"chai": "^4.3.6", | ||
"mocha": "^9.2.1", | ||
"node-fetch": "^3.2.0", | ||
"source-map-support": "^0.5.21", | ||
"ts-node": "^10.5.0", | ||
"typescript": "^4.5.5" | ||
"@types/node": "18", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"jsonwebtoken": "^8.5.1" | ||
"jsonwebtoken": "^9.0.2" | ||
}, | ||
"peerDependencies": { | ||
"@aptly-as/types": "*", | ||
"node-fetch": "*" | ||
"@aptly-as/types": "*" | ||
}, | ||
@@ -44,0 +33,0 @@ "lint-staged": { |
2
4
32234
841
+ Addedjsonwebtoken@9.0.2(transitive)
+ Addedsemver@7.7.1(transitive)
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removedjsonwebtoken@8.5.1(transitive)
- Removednode-domexception@1.0.0(transitive)
- Removednode-fetch@3.3.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
Updatedjsonwebtoken@^9.0.2