mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Merge pull request #1832 from oceanprotocol/issue-1831-fileinfo-case
make service endpoint / service name check case insensitive
This commit is contained in:
commit
1ef08f67be
11
CHANGELOG.md
11
CHANGELOG.md
@ -4,11 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
|
||||
|
||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||
|
||||
#### [v3.3.3-next.1](https://github.com/oceanprotocol/ocean.js/compare/v3.3.3-next.0...v3.3.3-next.1)
|
||||
|
||||
- wip: update compute status/stop to support `agreementId`, not `documentId`, sig fix [`#1822`](https://github.com/oceanprotocol/ocean.js/pull/1822)
|
||||
- put timeout back and test order,mut be ipfs side temporary [`557289e`](https://github.com/oceanprotocol/ocean.js/commit/557289e5f2c3a667abb6645a07c8342be881c186)
|
||||
- try swap tests order , debug [`fb50bee`](https://github.com/oceanprotocol/ocean.js/commit/fb50bee3804d943949da33cfdfb615449d6c39c1)
|
||||
- remove console.logs [`4e0536a`](https://github.com/oceanprotocol/ocean.js/commit/4e0536a1f8a812e4002b437665ce5357fddccd22)
|
||||
|
||||
#### [v3.3.3-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.3.2...v3.3.3-next.0)
|
||||
|
||||
> 27 June 2024
|
||||
|
||||
- Release 3.3.3-next.0 [`6f13fe7`](https://github.com/oceanprotocol/ocean.js/commit/6f13fe796feb9f168f234c8edf5ed27bcc47ce82)
|
||||
- wip: update to support agreementId [`9d58208`](https://github.com/oceanprotocol/ocean.js/commit/9d582082f05cab961915aef04e74f8e32fd7ba9c)
|
||||
- update compute stop, document id is not needed, neither for operator service, neither used on signature check [`5105a4f`](https://github.com/oceanprotocol/ocean.js/commit/5105a4fdadbf5590ebf2954a1d6f3a12f77b235c)
|
||||
- wip: debug agreemenet id [`1dcafcf`](https://github.com/oceanprotocol/ocean.js/commit/1dcafcff6cd51b1d3f0ec4a7ce882ad727a2267b)
|
||||
|
||||
#### [v3.3.2](https://github.com/oceanprotocol/ocean.js/compare/v3.3.1...v3.3.2)
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@oceanprotocol/lib",
|
||||
"version": "3.3.3-next.0",
|
||||
"version": "3.3.3-next.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@oceanprotocol/lib",
|
||||
"version": "3.3.3-next.0",
|
||||
"version": "3.3.3-next.1",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@oceanprotocol/contracts": "^2.0.3",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@oceanprotocol/lib",
|
||||
"source": "./src/index.ts",
|
||||
"version": "3.3.3-next.0",
|
||||
"version": "3.3.3-next.1",
|
||||
"description": "JavaScript client library for Ocean Protocol",
|
||||
"main": "./dist/lib.js",
|
||||
"umd:main": "dist/lib.umd.js",
|
||||
|
@ -46,7 +46,9 @@ export class Provider {
|
||||
serviceName: string
|
||||
): ServiceEndpoint {
|
||||
if (!servicesEndpoints) return null
|
||||
return servicesEndpoints.find((s) => s.serviceName === serviceName) as ServiceEndpoint
|
||||
return servicesEndpoints.find(
|
||||
(s) => s.serviceName.toLowerCase() === serviceName.toLowerCase()
|
||||
) as ServiceEndpoint
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user