Skip to content

Commit

Permalink
deploy 2.11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Jul 10, 2024
1 parent 6a6d22c commit 85fca4c
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 517 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xyo-network/sdk-xyo-js",
"version": "2.11.3",
"version": "2.11.4",
"homepage": "https://xyo.network",
"bugs": {
"url": "https://github.com/XYOracleNetwork/sdk-xyo-js/issues",
Expand Down Expand Up @@ -65,6 +65,7 @@
"typescript": "^5.5.3"
},
"resolutions": {
"eslint": "^8",
"mapbox-gl": "~3.2"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers-wrappers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xyo-network/ethers-wrappers",
"version": "2.11.3",
"version": "2.11.4",
"homepage": "https://xyo.network",
"bugs": {
"url": "https://github.com/XYOracleNetwork/sdk-xyo-js/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/geo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xyo-network/sdk-geo",
"version": "2.11.3",
"version": "2.11.4",
"homepage": "https://xyo.network",
"bugs": {
"url": "https://github.com/XYOracleNetwork/sdk-xyo-js/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/meta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xyo-network/sdk-meta",
"version": "2.11.3",
"version": "2.11.4",
"homepage": "https://xyo.network",
"bugs": {
"url": "https://github.com/XYOracleNetwork/sdk-xyo-js/issues",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { readFile, writeFile } from 'node:fs/promises'
import { join } from 'node:path'
import Path from 'node:path'

import { mergeDocumentHead } from '../mergeDocumentHead'

Expand All @@ -9,12 +9,12 @@ describe('mergeDocumentHead', () => {
let destination: string
let source: string
beforeAll(async () => {
destination = await readFile(join(__dirname, 'destination.html'), { encoding: 'utf8' })
source = await readFile(join(__dirname, 'source.html'), { encoding: 'utf8' })
destination = await readFile(Path.join(__dirname, 'destination.html'), { encoding: 'utf8' })
source = await readFile(Path.join(__dirname, 'source.html'), { encoding: 'utf8' })
})
it('with real documents', async () => {
const result = mergeDocumentHead(destination, source)
expect(result).toMatchSnapshot()
if (writeDebugFile) await writeFile(join(__dirname, 'result.html'), result)
if (writeDebugFile) await writeFile(Path.join(__dirname, 'result.html'), result)
})
})
4 changes: 2 additions & 2 deletions packages/meta/src/spec/builder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { readFile } from 'node:fs/promises'
import { join } from 'node:path'
import Path from 'node:path'

import { getMetaAsDict } from '../lib'
import { metaBuilder } from '../meta'
Expand Down Expand Up @@ -76,7 +76,7 @@ describe('builder', () => {
describe('Adds meta', () => {
let html: string
beforeAll(async () => {
const template = join(__dirname, 'template.html')
const template = Path.join(__dirname, 'template.html')
html = await readFile(template, { encoding: 'utf8' })
})
const cases: [title: string, meta: Meta][] = [
Expand Down
Loading

0 comments on commit 85fca4c

Please sign in to comment.