diff --git a/CHANGELOG.md b/CHANGELOG.md index c4fe523..b7e7c4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ 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.11] - 2024-06-20 +### Fix +- Fix refresh token when using openfort auth +- ## [0.7.10] - 2024-06-20 ### Fix - Fix SDK configuration diff --git a/examples/apps/auth-sample/.yarn/install-state.gz b/examples/apps/auth-sample/.yarn/install-state.gz index b6e3954..f218675 100644 Binary files a/examples/apps/auth-sample/.yarn/install-state.gz and b/examples/apps/auth-sample/.yarn/install-state.gz differ diff --git a/examples/apps/auth-sample/package.json b/examples/apps/auth-sample/package.json index 23b0f40..f82684a 100644 --- a/examples/apps/auth-sample/package.json +++ b/examples/apps/auth-sample/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@heroicons/react": "^2.0.13", - "@openfort/openfort-js": "0.7.10", + "@openfort/openfort-js": "0.7.11", "@openfort/openfort-node": "^0.6.47", "@radix-ui/react-toast": "^1.1.2", "@rainbow-me/rainbowkit": "^2.1.1", diff --git a/packages/internal/openapi-clients/Makefile b/packages/internal/openapi-clients/Makefile index 93e864e..c9c47f5 100644 --- a/packages/internal/openapi-clients/Makefile +++ b/packages/internal/openapi-clients/Makefile @@ -1,7 +1,6 @@ .PHONY: generate-backend-openapi generate-backend-openapi: get-backend-openapi generate-backend-api-client -# TODO: update URL once we release to testnet .PHONY: get-backend-openapi get-backend-openapi: rm -f src/backend-openapi.json && touch src/backend-openapi.json && \ diff --git a/packages/internal/openapi-clients/src/backend-openapi.json b/packages/internal/openapi-clients/src/backend-openapi.json index 98f78e9..894cba1 100644 --- a/packages/internal/openapi-clients/src/backend-openapi.json +++ b/packages/internal/openapi-clients/src/backend-openapi.json @@ -324,13 +324,11 @@ }, "dataSuffix": { "type": "string", - "description": "Data to append to the end of the calldata. Useful for [adding a \"domain\" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f)", - "example": "0x12345678" + "description": "Data to append to the end of the calldata. Useful for [adding a \"domain\" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f)" }, "data": { "type": "string", - "description": "The encoded calldata of the contract.", - "example": "0x12345678" + "description": "The encoded calldata of the contract." } }, "type": "object", @@ -845,7 +843,9 @@ "enum": [ "google", "twitter", - "facebook" + "facebook", + "discord", + "epic_games" ], "type": "string" }, @@ -1081,6 +1081,74 @@ "type": "object", "additionalProperties": false }, + "OAuthProvider.DISCORD": { + "enum": [ + "discord" + ], + "type": "string" + }, + "DiscordOAuthConfig": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable OAuth provider." + }, + "provider": { + "$ref": "#/components/schemas/OAuthProvider.DISCORD", + "description": "OAuth provider type" + }, + "clientId": { + "type": "string", + "description": "Discord API client ID." + }, + "clientSecret": { + "type": "string", + "description": "Discord API client secret." + } + }, + "required": [ + "enabled", + "provider", + "clientId", + "clientSecret" + ], + "type": "object", + "additionalProperties": false + }, + "OAuthProvider.EPIC_GAMES": { + "enum": [ + "epic_games" + ], + "type": "string" + }, + "EpicGamesOAuthConfig": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable OAuth provider." + }, + "provider": { + "$ref": "#/components/schemas/OAuthProvider.EPIC_GAMES", + "description": "OAuth provider type" + }, + "clientId": { + "type": "string", + "description": "Epic Games API client ID." + }, + "clientSecret": { + "type": "string", + "description": "Epic Games API client secret." + } + }, + "required": [ + "enabled", + "provider", + "clientId", + "clientSecret" + ], + "type": "object", + "additionalProperties": false + }, "ThirdPartyOAuthProvider.PLAYFAB": { "enum": [ "playfab" @@ -1219,6 +1287,12 @@ { "$ref": "#/components/schemas/FacebookOAuthConfig" }, + { + "$ref": "#/components/schemas/DiscordOAuthConfig" + }, + { + "$ref": "#/components/schemas/EpicGamesOAuthConfig" + }, { "$ref": "#/components/schemas/PlayFabOAuthConfig" }, @@ -1339,6 +1413,21 @@ "type": "object", "additionalProperties": false }, + "OAuthProvders": { + "enum": [ + "google", + "twitter", + "facebook", + "accelbyte", + "firebase", + "lootlocker", + "playfab", + "supabase", + "custom", + "oidc" + ], + "type": "string" + }, "TokenType": { "description": "Enum of the supporting OAuth providers.", "enum": [ @@ -1358,7 +1447,7 @@ "AuthenticateOAuthRequest": { "properties": { "provider": { - "$ref": "#/components/schemas/AuthProvider", + "$ref": "#/components/schemas/OAuthProvders", "description": "OAuth provider", "example": "firebase" }, @@ -1677,8 +1766,13 @@ "properties": { "refreshToken": { "type": "string", - "description": "Specifies the session.", + "description": "Specifies the session refresh token.", "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" + }, + "forceRefresh": { + "type": "boolean", + "description": "Specifies whether to force refresh the session.", + "example": false } }, "required": [ @@ -9092,7 +9186,7 @@ ], "security": [ { - "pk_access_token": [] + "pk": [] } ], "parameters": [], diff --git a/packages/internal/openapi-clients/src/backend/.openapi-generator/FILES b/packages/internal/openapi-clients/src/backend/.openapi-generator/FILES index 6409dfc..2e0dade 100644 --- a/packages/internal/openapi-clients/src/backend/.openapi-generator/FILES +++ b/packages/internal/openapi-clients/src/backend/.openapi-generator/FILES @@ -116,6 +116,7 @@ models/developer-account-response.ts models/developer-account.ts models/device-list-queries.ts models/device-response.ts +models/discord-oauth-config.ts models/domain-data.ts models/email-sample-delete-response.ts models/email-sample-response.ts @@ -145,6 +146,7 @@ models/entity-type-trigger.ts models/entity-type-user.ts models/entity-type-web3-action.ts models/entity-type-web3-connection.ts +models/epic-games-oauth-config.ts models/error-type-invalidrequesterror.ts models/estimate-transaction-intent-gas-result.ts models/event-delete-response.ts @@ -186,6 +188,9 @@ models/oauth-config-list-response.ts models/oauth-config.ts models/oauth-init-request-options.ts models/oauth-init-request.ts +models/oauth-provders.ts +models/oauth-provider-discord.ts +models/oauth-provider-epicgames.ts models/oauth-provider-facebook.ts models/oauth-provider-google.ts models/oauth-provider-twitter.ts 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 53dd56f..df9289c 100644 --- a/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts +++ b/packages/internal/openapi-clients/src/backend/domain/authentication-api.ts @@ -593,6 +593,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication pk required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + localVarHeaderParameter['Content-Type'] = 'application/json'; diff --git a/packages/internal/openapi-clients/src/backend/models/authenticate-oauth-request.ts b/packages/internal/openapi-clients/src/backend/models/authenticate-oauth-request.ts index 62b3fb4..5e5f243 100644 --- a/packages/internal/openapi-clients/src/backend/models/authenticate-oauth-request.ts +++ b/packages/internal/openapi-clients/src/backend/models/authenticate-oauth-request.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { AuthProvider } from './auth-provider'; +import { OAuthProvders } from './oauth-provders'; // May contain unused imports in some cases // @ts-ignore import { PlayerResponseExpandable } from './player-response-expandable'; @@ -31,10 +31,10 @@ import { TokenType } from './token-type'; export interface AuthenticateOAuthRequest { /** * - * @type {AuthProvider} + * @type {OAuthProvders} * @memberof AuthenticateOAuthRequest */ - 'provider': AuthProvider; + 'provider': OAuthProvders; /** * Token to be verified * @type {string} diff --git a/packages/internal/openapi-clients/src/backend/models/discord-oauth-config.ts b/packages/internal/openapi-clients/src/backend/models/discord-oauth-config.ts new file mode 100644 index 0000000..3363d66 --- /dev/null +++ b/packages/internal/openapi-clients/src/backend/models/discord-oauth-config.ts @@ -0,0 +1,53 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Openfort API + * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs + * + * The version of the OpenAPI document: 1.0.0 + * Contact: founders@openfort.xyz + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { OAuthProviderDISCORD } from './oauth-provider-discord'; + +/** + * + * @export + * @interface DiscordOAuthConfig + */ +export interface DiscordOAuthConfig { + /** + * Enable OAuth provider. + * @type {boolean} + * @memberof DiscordOAuthConfig + */ + 'enabled': boolean; + /** + * + * @type {OAuthProviderDISCORD} + * @memberof DiscordOAuthConfig + */ + 'provider': OAuthProviderDISCORD; + /** + * Discord API client ID. + * @type {string} + * @memberof DiscordOAuthConfig + */ + 'clientId': string; + /** + * Discord API client secret. + * @type {string} + * @memberof DiscordOAuthConfig + */ + 'clientSecret': string; +} + + + diff --git a/packages/internal/openapi-clients/src/backend/models/epic-games-oauth-config.ts b/packages/internal/openapi-clients/src/backend/models/epic-games-oauth-config.ts new file mode 100644 index 0000000..87e12af --- /dev/null +++ b/packages/internal/openapi-clients/src/backend/models/epic-games-oauth-config.ts @@ -0,0 +1,53 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Openfort API + * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs + * + * The version of the OpenAPI document: 1.0.0 + * Contact: founders@openfort.xyz + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { OAuthProviderEPICGAMES } from './oauth-provider-epicgames'; + +/** + * + * @export + * @interface EpicGamesOAuthConfig + */ +export interface EpicGamesOAuthConfig { + /** + * Enable OAuth provider. + * @type {boolean} + * @memberof EpicGamesOAuthConfig + */ + 'enabled': boolean; + /** + * + * @type {OAuthProviderEPICGAMES} + * @memberof EpicGamesOAuthConfig + */ + 'provider': OAuthProviderEPICGAMES; + /** + * Epic Games API client ID. + * @type {string} + * @memberof EpicGamesOAuthConfig + */ + 'clientId': string; + /** + * Epic Games API client secret. + * @type {string} + * @memberof EpicGamesOAuthConfig + */ + 'clientSecret': string; +} + + + diff --git a/packages/internal/openapi-clients/src/backend/models/index.ts b/packages/internal/openapi-clients/src/backend/models/index.ts index b36f0eb..8eb6133 100644 --- a/packages/internal/openapi-clients/src/backend/models/index.ts +++ b/packages/internal/openapi-clients/src/backend/models/index.ts @@ -91,6 +91,7 @@ export * from './developer-account-response'; export * from './developer-account-response-expandable'; export * from './device-list-queries'; export * from './device-response'; +export * from './discord-oauth-config'; export * from './domain-data'; export * from './email-sample-delete-response'; export * from './email-sample-response'; @@ -120,6 +121,7 @@ export * from './entity-type-trigger'; export * from './entity-type-user'; export * from './entity-type-web3-action'; export * from './entity-type-web3-connection'; +export * from './epic-games-oauth-config'; export * from './error-type-invalidrequesterror'; export * from './estimate-transaction-intent-gas-result'; export * from './event-delete-response'; @@ -160,7 +162,10 @@ export * from './oauth-config'; export * from './oauth-config-list-response'; export * from './oauth-init-request'; export * from './oauth-init-request-options'; +export * from './oauth-provders'; export * from './oauth-provider'; +export * from './oauth-provider-discord'; +export * from './oauth-provider-epicgames'; export * from './oauth-provider-facebook'; export * from './oauth-provider-google'; export * from './oauth-provider-twitter'; diff --git a/packages/internal/openapi-clients/src/backend/models/oauth-config.ts b/packages/internal/openapi-clients/src/backend/models/oauth-config.ts index e32b3f0..6642b4d 100644 --- a/packages/internal/openapi-clients/src/backend/models/oauth-config.ts +++ b/packages/internal/openapi-clients/src/backend/models/oauth-config.ts @@ -21,6 +21,12 @@ import { AccelbyteOAuthConfig } from './accelbyte-oauth-config'; import { CustomAuthConfig } from './custom-auth-config'; // May contain unused imports in some cases // @ts-ignore +import { DiscordOAuthConfig } from './discord-oauth-config'; +// May contain unused imports in some cases +// @ts-ignore +import { EpicGamesOAuthConfig } from './epic-games-oauth-config'; +// May contain unused imports in some cases +// @ts-ignore import { FacebookOAuthConfig } from './facebook-oauth-config'; // May contain unused imports in some cases // @ts-ignore @@ -102,13 +108,13 @@ export interface OAuthConfig { */ 'baseUrl': string; /** - * Facebook API client ID. + * Epic Games API client ID. * @type {string} * @memberof OAuthConfig */ 'clientId': string; /** - * Facebook API client secret. + * Epic Games API client secret. * @type {string} * @memberof OAuthConfig */ diff --git a/packages/internal/openapi-clients/src/backend/models/oauth-provders.ts b/packages/internal/openapi-clients/src/backend/models/oauth-provders.ts new file mode 100644 index 0000000..21f5521 --- /dev/null +++ b/packages/internal/openapi-clients/src/backend/models/oauth-provders.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Openfort API + * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs + * + * The version of the OpenAPI document: 1.0.0 + * Contact: founders@openfort.xyz + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const OAuthProvders = { + Google: 'google', + Twitter: 'twitter', + Facebook: 'facebook', + Accelbyte: 'accelbyte', + Firebase: 'firebase', + Lootlocker: 'lootlocker', + Playfab: 'playfab', + Supabase: 'supabase', + Custom: 'custom', + Oidc: 'oidc' +} as const; + +export type OAuthProvders = typeof OAuthProvders[keyof typeof OAuthProvders]; + + + diff --git a/packages/internal/openapi-clients/src/backend/models/oauth-provider-discord.ts b/packages/internal/openapi-clients/src/backend/models/oauth-provider-discord.ts new file mode 100644 index 0000000..a757924 --- /dev/null +++ b/packages/internal/openapi-clients/src/backend/models/oauth-provider-discord.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Openfort API + * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs + * + * The version of the OpenAPI document: 1.0.0 + * Contact: founders@openfort.xyz + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const OAuthProviderDISCORD = { + Discord: 'discord' +} as const; + +export type OAuthProviderDISCORD = typeof OAuthProviderDISCORD[keyof typeof OAuthProviderDISCORD]; + + + diff --git a/packages/internal/openapi-clients/src/backend/models/oauth-provider-epicgames.ts b/packages/internal/openapi-clients/src/backend/models/oauth-provider-epicgames.ts new file mode 100644 index 0000000..99ae48d --- /dev/null +++ b/packages/internal/openapi-clients/src/backend/models/oauth-provider-epicgames.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Openfort API + * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs + * + * The version of the OpenAPI document: 1.0.0 + * Contact: founders@openfort.xyz + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const OAuthProviderEPICGAMES = { + EpicGames: 'epic_games' +} as const; + +export type OAuthProviderEPICGAMES = typeof OAuthProviderEPICGAMES[keyof typeof OAuthProviderEPICGAMES]; + + + diff --git a/packages/internal/openapi-clients/src/backend/models/oauth-provider.ts b/packages/internal/openapi-clients/src/backend/models/oauth-provider.ts index 7961c0a..ee5706f 100644 --- a/packages/internal/openapi-clients/src/backend/models/oauth-provider.ts +++ b/packages/internal/openapi-clients/src/backend/models/oauth-provider.ts @@ -23,7 +23,9 @@ export const OAuthProvider = { Google: 'google', Twitter: 'twitter', - Facebook: 'facebook' + Facebook: 'facebook', + Discord: 'discord', + EpicGames: 'epic_games' } as const; export type OAuthProvider = typeof OAuthProvider[keyof typeof OAuthProvider]; diff --git a/packages/internal/openapi-clients/src/backend/models/refresh-token-request.ts b/packages/internal/openapi-clients/src/backend/models/refresh-token-request.ts index d1c2f0b..1905100 100644 --- a/packages/internal/openapi-clients/src/backend/models/refresh-token-request.ts +++ b/packages/internal/openapi-clients/src/backend/models/refresh-token-request.ts @@ -21,10 +21,16 @@ */ export interface RefreshTokenRequest { /** - * Specifies the session. + * Specifies the session refresh token. * @type {string} * @memberof RefreshTokenRequest */ 'refreshToken': string; + /** + * Specifies whether to force refresh the session. + * @type {boolean} + * @memberof RefreshTokenRequest + */ + 'forceRefresh'?: boolean; } diff --git a/packages/platform-bridge/package.json b/packages/platform-bridge/package.json index d7384b7..915df74 100644 --- a/packages/platform-bridge/package.json +++ b/packages/platform-bridge/package.json @@ -2,7 +2,7 @@ "name": "@openfort/platform-bridge", "version": "0.0.0", "dependencies": { - "@openfort/openfort-js": "0.7.10", + "@openfort/openfort-js": "0.7.11", "ethers": "^5.7.0" }, "devDependencies": { diff --git a/packages/platform-bridge/src/bridge.ts b/packages/platform-bridge/src/bridge.ts index ec62e8b..587b47c 100644 --- a/packages/platform-bridge/src/bridge.ts +++ b/packages/platform-bridge/src/bridge.ts @@ -392,7 +392,8 @@ window.callFunction = async (jsonData: string) => { break; } case OPENFORT_FUNCTIONS.validateAndRefreshToken: { - await openfortClient?.validateAndRefreshToken(); + const request = JSON.parse(data); + await openfortClient?.validateAndRefreshToken(request.forceRefresh); callbackToGame({ responseFor: fxName, requestId, diff --git a/sdk/package.json b/sdk/package.json index a386ef4..1dce5c5 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@openfort/openfort-js", - "version": "0.7.10", + "version": "0.7.11", "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/src/authManager.ts b/sdk/src/authManager.ts index 485869f..cf4f0ec 100644 --- a/sdk/src/authManager.ts +++ b/sdk/src/authManager.ts @@ -293,7 +293,7 @@ export default class AuthManager { }, OpenfortErrorType.USER_REGISTRATION_ERROR); } - public async validateCredentials(): Promise { + public async validateCredentials(forceRefresh?:boolean): Promise { const jwk = await this.instanceManager.getJWK(); const accessToken = this.instanceManager.getAccessToken()?.token; const refreshToken = this.instanceManager.getRefreshToken(); @@ -302,6 +302,10 @@ export default class AuthManager { throw new OpenfortError('Must be logged in to validate and refresh token', OpenfortErrorType.NOT_LOGGED_IN_ERROR); } + if (forceRefresh) { + return this.refreshTokens(refreshToken, forceRefresh); + } + try { const key = (await importJWK( { @@ -320,24 +324,29 @@ export default class AuthManager { }; } catch (error) { if (error instanceof errors.JWTExpired) { - const request = { - refreshTokenRequest: { - refreshToken, - }, - }; - return withOpenfortError(async () => { - const newToken = await this.backendApiClients.authenticationApi.refresh(request); - return { - player: newToken.data.player.id, - accessToken: newToken.data.token, - refreshToken: newToken.data.refreshToken, - }; - }, OpenfortErrorType.REFRESH_TOKEN_ERROR); + return this.refreshTokens(refreshToken); } throw error; } } + private async refreshTokens(refreshToken: string, forceRefresh?: boolean): Promise { + const request = { + refreshTokenRequest: { + refreshToken, + forceRefresh, + }, + }; + return withOpenfortError(async () => { + const response = await this.backendApiClients.authenticationApi.refresh(request); + return { + player: response.data.player.id, + accessToken: response.data.token, + refreshToken: response.data.refreshToken, + }; + }, OpenfortErrorType.REFRESH_TOKEN_ERROR); + } + public async logout( accessToken: string, refreshToken: string, diff --git a/sdk/src/errors/openfortError.ts b/sdk/src/errors/openfortError.ts index 81d31d9..87831c7 100644 --- a/sdk/src/errors/openfortError.ts +++ b/sdk/src/errors/openfortError.ts @@ -14,7 +14,7 @@ export enum OpenfortErrorType { } function isAPIError(error: any): error is Error { - return 'code' in error && 'message' in error; + return 'type' in error && 'message' in error; } export class OpenfortError extends Error { diff --git a/sdk/src/openfort.ts b/sdk/src/openfort.ts index fc5b4b0..cfdf508 100644 --- a/sdk/src/openfort.ts +++ b/sdk/src/openfort.ts @@ -674,13 +674,13 @@ export class Openfort { /** * Validates and refreshes the access token if needed. */ - public async validateAndRefreshToken():Promise { + public async validateAndRefreshToken(forceRefresh?:boolean):Promise { const authType = this.credentialsProvided(); if (!authType) { throw new OpenfortError('Must be logged in to validate and refresh token', OpenfortErrorType.NOT_LOGGED_IN_ERROR); } if (authType === AuthType.OPENFORT) { - const auth = await this.authManager.validateCredentials(); + const auth = await this.authManager.validateCredentials(forceRefresh); this.storeCredentials(auth); if (this.signer && this.signer.useCredentials()) { await this.signer.updateAuthentication(); diff --git a/sdk/src/version.ts b/sdk/src/version.ts index 300983e..87d9b0a 100644 --- a/sdk/src/version.ts +++ b/sdk/src/version.ts @@ -1,2 +1,2 @@ -export const VERSION = '0.7.10'; +export const VERSION = '0.7.11'; export const PACKAGE = '@openfort/openfort-js'; diff --git a/yarn.lock b/yarn.lock index 07834ad..135521c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1403,7 +1403,7 @@ __metadata: languageName: unknown linkType: soft -"@openfort/openfort-js@0.7.10, @openfort/openfort-js@workspace:sdk": +"@openfort/openfort-js@0.7.11, @openfort/openfort-js@workspace:sdk": version: 0.0.0-use.local resolution: "@openfort/openfort-js@workspace:sdk" dependencies: @@ -1458,7 +1458,7 @@ __metadata: version: 0.0.0-use.local resolution: "@openfort/platform-bridge@workspace:packages/platform-bridge" dependencies: - "@openfort/openfort-js": 0.7.10 + "@openfort/openfort-js": 0.7.11 eslint: ^8.40.0 ethers: ^5.7.0 parcel: ^2.8.3 @@ -9883,12 +9883,12 @@ __metadata: linkType: hard "typescript@npm:^5.0.4, typescript@npm:^5.4.3": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" + version: 5.5.2 + resolution: "typescript@npm:5.5.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0 + checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd languageName: node linkType: hard @@ -9903,12 +9903,12 @@ __metadata: linkType: hard "typescript@patch:typescript@^5.0.4#~builtin, typescript@patch:typescript@^5.4.3#~builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin::version=5.4.5&hash=14eedb" + version: 5.5.2 + resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin::version=5.5.2&hash=14eedb" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba + checksum: 9d89bac0de650e15d6846485f238d1e65f1013f2c260d9e53e86a1da6ecf8109d9fad9402575c5c36a6592dc5d4370db090e12971c8630ae84453654baabb6b4 languageName: node linkType: hard