Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
TD1286 Remove experimental flag (#434)
Browse files Browse the repository at this point in the history
diff

Signed-off-by: Frank Li <[email protected]>
  • Loading branch information
frankisawesome authored Feb 27, 2024
1 parent 64cff23 commit 3d4b38e
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 82 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ 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.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## Unreleased

- Remove experimental flag for primary sales functions

## [3.0.0] - 2024-02-26

### Added

- `completeWithdrawal` has been updated to use V2 withdrawal logic for StarkEx V4 contract.
- [BREAKING CHANGE] `completeWithdrawal` now requires `WalletConnection` instead of Eth Signer.


## [2.6.1] - 2024-02-26

### Added
Expand Down
48 changes: 24 additions & 24 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"url": "https://support.immutable.com",
"email": "[email protected]"
},
"version": "3.0"
"version": "3.0.0"
},
"host": "api.sandbox.x.immutable.com",
"host": "api.sandbox.immutable.com",
"basePath": "/",
"paths": {
"/v1/assets": {
Expand Down Expand Up @@ -1666,7 +1666,7 @@
"ImxEthSignature": []
}
],
"description": "[Experimental] Create Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Create Primary Sale. This endpoint is experimental and may change in the future.",
"consumes": [
"application/json"
],
Expand All @@ -1676,7 +1676,7 @@
"tags": [
"primary-sales"
],
"summary": "[Experimental] Create Primary Sale",
"summary": "Create Primary Sale",
"operationId": "CreatePrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -1735,7 +1735,7 @@
},
"/v1/primary_sales/signable-primary-sale-details": {
"post": {
"description": "[Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Signable Create Primary Sale. This endpoint is experimental and may change in the future.",
"consumes": [
"application/json"
],
Expand All @@ -1745,7 +1745,7 @@
"tags": [
"primary-sales"
],
"summary": "[Experimental] Signable Create Primary Sale",
"summary": "Signable Create Primary Sale",
"operationId": "SignableCreatePrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -1792,14 +1792,14 @@
},
"/v1/primary_sales/{id}": {
"get": {
"description": "[Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future.",
"description": "Get a single primary sale by ID. This endpoint is experimental and may change in the future.",
"produces": [
"application/json"
],
"tags": [
"primary-sales"
],
"summary": "[Experimental] Get a single primary sale by ID",
"summary": "Get a single primary sale by ID",
"operationId": "GetPrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -1853,14 +1853,14 @@
"ImxEthSignature": []
}
],
"description": "[Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Accept Primary Sale. This endpoint is experimental and may change in the future.",
"produces": [
"application/json"
],
"tags": [
"primary-sales"
],
"summary": "[Experimental] Accept Primary Sale",
"summary": "Accept Primary Sale",
"operationId": "AcceptPrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -1932,14 +1932,14 @@
"ImxEthSignature": []
}
],
"description": "[Experimental] Reject Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Reject Primary Sale. This endpoint is experimental and may change in the future.",
"produces": [
"application/json"
],
"tags": [
"primary-sales"
],
"summary": "[Experimental] Reject Primary Sale",
"summary": "Reject Primary Sale",
"operationId": "RejectPrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -2005,14 +2005,14 @@
},
"/v1/primary_sales/{id}/signable-accept-details": {
"post": {
"description": "[Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Signable Accept Primary Sale. This endpoint is experimental and may change in the future.",
"produces": [
"application/json"
],
"tags": [
"primary-sales"
],
"summary": "[Experimental] Signable Accept Primary Sale",
"summary": "Signable Accept Primary Sale",
"operationId": "SignableAcceptPrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -2066,14 +2066,14 @@
},
"/v1/primary_sales/{id}/signable-reject-details": {
"post": {
"description": "[Experimental] Signable Reject Primary Sale. This endpoint is experimental and may change in the future.",
"description": "Signable Reject Primary Sale. This endpoint is experimental and may change in the future.",
"produces": [
"application/json"
],
"tags": [
"primary-sales"
],
"summary": "[Experimental] Signable Reject Primary Sale",
"summary": "Signable Reject Primary Sale",
"operationId": "SignableRejectPrimarySale",
"parameters": [
{
Expand Down Expand Up @@ -14003,7 +14003,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError400"
}
}
},
Expand All @@ -14013,7 +14013,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError403"
}
}
},
Expand All @@ -14023,7 +14023,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError500"
}
}
},
Expand All @@ -14033,7 +14033,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError404"
}
}
},
Expand All @@ -14043,7 +14043,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError501"
}
}
},
Expand All @@ -14053,7 +14053,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError429"
}
}
},
Expand All @@ -14063,7 +14063,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError401"
}
}
},
Expand All @@ -14073,7 +14073,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/APIError"
"$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError422"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/api/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';

export const BASE_PATH = "https://api.sandbox.x.immutable.com".replace(/\/+$/, "");
export const BASE_PATH = "https://api.sandbox.immutable.com".replace(/\/+$/, "");

/**
*
Expand Down
Loading

0 comments on commit 3d4b38e

Please sign in to comment.