From 7916114b60d9ce41a7f7401a7579a49c5626c798 Mon Sep 17 00:00:00 2001 From: Jaume Alavedra Date: Wed, 29 May 2024 10:29:21 +0200 Subject: [PATCH] fix: missing SDK config --- CHANGELOG.md | 5 +++++ .../src/backend/domain/authentication-api.ts | 1 + sdk/package.json | 2 +- sdk/rollup.config.js | 1 + sdk/src/version.ts | 2 +- yarn.lock | 22 ++++++++++++++++++- 6 files changed, 30 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50f450c..18440f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.7.1] - 2024-05-29 +### Fix +- Add missing rollup configuration for the SDK with openapi code generation + + ## [0.7.0] - 2024-05-28 ### Feat - Automatic code generation from openapi spec diff --git a/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts b/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts index bcfdc52..c7dcb15 100644 --- a/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts +++ b/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts @@ -559,6 +559,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; localVarRequestOptions.data = serializeDataIfNeeded(thirdPartyOAuthRequest, localVarRequestOptions, configuration) + return { url: toPathString(localVarUrlObj), options: localVarRequestOptions, diff --git a/sdk/package.json b/sdk/package.json index 1b90c7e..787da10 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@openfort/openfort-js", - "version": "0.7.0", + "version": "0.7.1", "author": "Openfort (https://www.openfort.xyz)", "bugs": "https://github.com/openfort-xyz/openfort-js/issues", "repository": "openfort-xyz/openfort-js.git", diff --git a/sdk/rollup.config.js b/sdk/rollup.config.js index 1c3ca04..a229f66 100644 --- a/sdk/rollup.config.js +++ b/sdk/rollup.config.js @@ -11,6 +11,7 @@ const packages = [ {location: '.', name: 'js-openfort-sdk'}, {location: 'packages/platform-bridge', name: '@openfort/platform-bridge'}, {location: 'sdk', name: '@openfort/openfort-js'}, + {location:"packages/internal/openapi-clients",name:"@openfort/openapi-clients"}, ]; // const packages = JSON.parse( diff --git a/sdk/src/version.ts b/sdk/src/version.ts index 6ac51c4..e925b59 100644 --- a/sdk/src/version.ts +++ b/sdk/src/version.ts @@ -1,2 +1,2 @@ -export const VERSION = '0.7.0'; +export const VERSION = '0.7.1'; export const PACKAGE = '@openfort/openfort-js'; diff --git a/yarn.lock b/yarn.lock index b82f9e8..4630ef5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1203,7 +1203,27 @@ __metadata: languageName: unknown linkType: soft -"@openfort/openfort-js@0.7.0, @openfort/openfort-js@workspace:sdk": +"@openfort/openfort-js@npm:0.7.0": + version: 0.7.0 + resolution: "@openfort/openfort-js@npm:0.7.0" + dependencies: + "@ethersproject/abstract-signer": ^5.7.0 + "@ethersproject/bytes": ^5.7.0 + "@ethersproject/hash": ^5.7.0 + "@ethersproject/signing-key": ^5.7.0 + "@ethersproject/transactions": ^5.7.0 + "@noble/curves": ^1.1.0 + "@openfort/shield-js": ^0.0.3 + axios: 1.6.7 + crypto-js: ^4.2.0 + es6-promise: ^4.2.8 + jose: ^5.2.2 + path: ^0.12.7 + checksum: e40fd0accf597af7bb41682c29c632d02580fd7f03d19e0b14c8cf4e7db96acca11a6455000c80ff6556d50ef44d05c8e22f70466f9ee92828ed4d0fe9b89bd2 + languageName: node + linkType: hard + +"@openfort/openfort-js@workspace:sdk": version: 0.0.0-use.local resolution: "@openfort/openfort-js@workspace:sdk" dependencies: