forked from Mirrors/doipjs
Update for publishing
This commit is contained in:
parent
2153185729
commit
d20ae7b799
9 changed files with 76 additions and 72 deletions
Binary file not shown.
14
dist/doip.fetchers.js
vendored
14
dist/doip.fetchers.js
vendored
|
@ -6002,7 +6002,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.2.9';
|
||||
const version = '1.2.9+myriaiton.1';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
@ -32900,13 +32900,13 @@ var doipFetchers = (function (exports) {
|
|||
const matchedSaslConfig = opts.claims.irc.sasl.find(saslConfig => data.domain.match(new RegExp(saslConfig.domainRegex)) !== null);
|
||||
const saslOptions = matchedSaslConfig
|
||||
? {
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
: {
|
||||
sasl: false
|
||||
};
|
||||
sasl: false
|
||||
};
|
||||
|
||||
const client = new irc$1.Client(data.domain, opts.claims.irc.nick, {
|
||||
port: 6697,
|
||||
|
|
2
dist/doip.fetchers.min.js
vendored
2
dist/doip.fetchers.min.js
vendored
File diff suppressed because one or more lines are too long
14
dist/doip.fetchers.minimal.js
vendored
14
dist/doip.fetchers.minimal.js
vendored
|
@ -5988,7 +5988,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.2.9';
|
||||
const version = '1.2.9+myriaiton.1';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
@ -32063,13 +32063,13 @@ var doipFetchers = (function (exports) {
|
|||
const matchedSaslConfig = opts.claims.irc.sasl.find(saslConfig => data.domain.match(new RegExp(saslConfig.domainRegex)) !== null);
|
||||
const saslOptions = matchedSaslConfig
|
||||
? {
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
: {
|
||||
sasl: false
|
||||
};
|
||||
sasl: false
|
||||
};
|
||||
|
||||
const client = new irc$1.Client(data.domain, opts.claims.irc.nick, {
|
||||
port: 6697,
|
||||
|
|
2
dist/doip.fetchers.minimal.min.js
vendored
2
dist/doip.fetchers.minimal.min.js
vendored
File diff suppressed because one or more lines are too long
12
package.json
12
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "doipjs",
|
||||
"version": "1.2.9",
|
||||
"name": "@myriation/doipjs",
|
||||
"version": "1.2.9+myriaiton.1",
|
||||
"description": "Decentralized Online Identity Proofs library in Node.js",
|
||||
"type": "module",
|
||||
"main": "./src/index.js",
|
||||
|
@ -73,7 +73,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/keyoxide/doipjs"
|
||||
"url": "https://git.myriation.org/myriation/doipjs"
|
||||
},
|
||||
"homepage": "https://js.doip.rocks",
|
||||
"keywords": [
|
||||
|
@ -85,5 +85,9 @@
|
|||
"identity"
|
||||
],
|
||||
"author": "Yarmo Mackenbach <yarmo@yarmo.eu> (https://yarmo.eu)",
|
||||
"license": "Apache-2.0"
|
||||
"license": "Apache-2.0",
|
||||
"publishConfig": {
|
||||
"registry": "https://git.myriation.xyz/api/packages/myriation/npm/",
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,4 +22,4 @@ limitations under the License.
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
export const version = '1.2.9'
|
||||
export const version = '1.2.9+myriaiton.1'
|
||||
|
|
|
@ -60,16 +60,16 @@ export async function fn (data, opts) {
|
|||
|
||||
try {
|
||||
// Add sasl-related config if the server matches
|
||||
const matchedSaslConfig = opts.claims.irc.sasl.find(saslConfig => data.domain.match(new RegExp(saslConfig.domainRegex)) !== null);
|
||||
const matchedSaslConfig = opts.claims.irc.sasl.find(saslConfig => data.domain.match(new RegExp(saslConfig.domainRegex)) !== null)
|
||||
const saslOptions = matchedSaslConfig
|
||||
? {
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
sasl: true,
|
||||
userName: matchedSaslConfig.username,
|
||||
password: matchedSaslConfig.password
|
||||
}
|
||||
: {
|
||||
sasl: false
|
||||
}
|
||||
sasl: false
|
||||
}
|
||||
|
||||
const client = new irc.Client(data.domain, opts.claims.irc.nick, {
|
||||
port: 6697,
|
||||
|
|
88
yarn.lock
88
yarn.lock
|
@ -527,6 +527,50 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@myriation/doipjs@workspace:.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@myriation/doipjs@workspace:."
|
||||
dependencies:
|
||||
"@openpgp/hkp-client": "npm:^0.0.3"
|
||||
"@openpgp/wkd-client": "npm:^0.0.4"
|
||||
"@rollup/plugin-commonjs": "npm:^25.0.2"
|
||||
"@rollup/plugin-json": "npm:^6.0.0"
|
||||
"@rollup/plugin-node-resolve": "npm:^15.1.0"
|
||||
"@xmpp/client": "npm:^0.13.1"
|
||||
"@xmpp/debug": "npm:^0.13.0"
|
||||
axios: "npm:^1.6.5"
|
||||
browser-or-node: "npm:^1.3.0"
|
||||
chai: "npm:^4.2.0"
|
||||
chai-as-promised: "npm:^7.1.1"
|
||||
docdash: "npm:^2.0.2"
|
||||
entities: "npm:^4.4.0"
|
||||
eslint: "npm:^8.39.0"
|
||||
eslint-config-standard: "npm:^17.0.0"
|
||||
eslint-plugin-import: "npm:^2.27.5"
|
||||
eslint-plugin-jsdoc: "npm:^48.0.4"
|
||||
eslint-plugin-n: "npm:^15.7.0"
|
||||
eslint-plugin-promise: "npm:^6.1.1"
|
||||
hash-wasm: "npm:^4.9.0"
|
||||
husky: "npm:^7.0.0"
|
||||
irc-upd: "npm:^0.11.0"
|
||||
jose: "npm:^4.14.4"
|
||||
jsdoc: "npm:^4.0.2"
|
||||
jsdoc-tsimport-plugin: "npm:^1.0.5"
|
||||
license-check-and-add: "npm:^4.0.3"
|
||||
lint-staged: "npm:^11.0.0"
|
||||
merge-options: "npm:^3.0.3"
|
||||
minify: "npm:^9.1"
|
||||
mocha: "npm:^9.2.0"
|
||||
openpgp: "npm:^5.5.0"
|
||||
rfc4648: "npm:^1.5.2"
|
||||
rollup: "npm:^3.26.2"
|
||||
rollup-plugin-polyfill-node: "npm:^0.12.0"
|
||||
rollup-plugin-visualizer: "npm:^5.9.2"
|
||||
valid-url: "npm:^1.0.9"
|
||||
validator: "npm:^13.9.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@nicolo-ribaudo/chokidar-2@npm:2.1.8-no-fsevents.3":
|
||||
version: 2.1.8-no-fsevents.3
|
||||
resolution: "@nicolo-ribaudo/chokidar-2@npm:2.1.8-no-fsevents.3"
|
||||
|
@ -2135,50 +2179,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"doipjs@workspace:.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "doipjs@workspace:."
|
||||
dependencies:
|
||||
"@openpgp/hkp-client": "npm:^0.0.3"
|
||||
"@openpgp/wkd-client": "npm:^0.0.4"
|
||||
"@rollup/plugin-commonjs": "npm:^25.0.2"
|
||||
"@rollup/plugin-json": "npm:^6.0.0"
|
||||
"@rollup/plugin-node-resolve": "npm:^15.1.0"
|
||||
"@xmpp/client": "npm:^0.13.1"
|
||||
"@xmpp/debug": "npm:^0.13.0"
|
||||
axios: "npm:^1.6.5"
|
||||
browser-or-node: "npm:^1.3.0"
|
||||
chai: "npm:^4.2.0"
|
||||
chai-as-promised: "npm:^7.1.1"
|
||||
docdash: "npm:^2.0.2"
|
||||
entities: "npm:^4.4.0"
|
||||
eslint: "npm:^8.39.0"
|
||||
eslint-config-standard: "npm:^17.0.0"
|
||||
eslint-plugin-import: "npm:^2.27.5"
|
||||
eslint-plugin-jsdoc: "npm:^48.0.4"
|
||||
eslint-plugin-n: "npm:^15.7.0"
|
||||
eslint-plugin-promise: "npm:^6.1.1"
|
||||
hash-wasm: "npm:^4.9.0"
|
||||
husky: "npm:^7.0.0"
|
||||
irc-upd: "npm:^0.11.0"
|
||||
jose: "npm:^4.14.4"
|
||||
jsdoc: "npm:^4.0.2"
|
||||
jsdoc-tsimport-plugin: "npm:^1.0.5"
|
||||
license-check-and-add: "npm:^4.0.3"
|
||||
lint-staged: "npm:^11.0.0"
|
||||
merge-options: "npm:^3.0.3"
|
||||
minify: "npm:^9.1"
|
||||
mocha: "npm:^9.2.0"
|
||||
openpgp: "npm:^5.5.0"
|
||||
rfc4648: "npm:^1.5.2"
|
||||
rollup: "npm:^3.26.2"
|
||||
rollup-plugin-polyfill-node: "npm:^0.12.0"
|
||||
rollup-plugin-visualizer: "npm:^5.9.2"
|
||||
valid-url: "npm:^1.0.9"
|
||||
validator: "npm:^13.9.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"dot-case@npm:^3.0.4":
|
||||
version: 3.0.4
|
||||
resolution: "dot-case@npm:3.0.4"
|
||||
|
|
Loading…
Reference in a new issue