🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

opencode-copilot-auth

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-copilot-auth - npm Package Compare versions

Comparing version
0.0.4
to
0.0.5
+9
README.md
# opencode-copilot-auth
Package on npm: https://www.npmjs.com/package/opencode-copilot-auth
## Updating
```zsh
./script/publish.ts
```
+7
-7

@@ -7,5 +7,5 @@ /**

const HEADERS = {
"User-Agent": "GitHubCopilotChat/0.35.0",
"Editor-Version": "vscode/1.99.3",
"Editor-Plugin-Version": "copilot-chat/0.35.0",
"User-Agent": "GitHubCopilotChat/0.32.4",
"Editor-Version": "vscode/1.105.1",
"Editor-Plugin-Version": "copilot-chat/0.32.4",
"Copilot-Integration-Id": "vscode-chat",

@@ -15,5 +15,3 @@ };

function normalizeDomain(url) {
return url
.replace(/^https?:\/\//, "")
.replace(/\/$/, "");
return url.replace(/^https?:\/\//, "").replace(/\/$/, "");
}

@@ -87,3 +85,5 @@

expires: tokenData.expires_at * 1000,
...(info.enterpriseUrl && { enterpriseUrl: info.enterpriseUrl }),
...(info.enterpriseUrl && {
enterpriseUrl: info.enterpriseUrl,
}),
},

@@ -90,0 +90,0 @@ });

{
"name": "opencode-copilot-auth",
"version": "0.0.4",
"version": "0.0.5",
"main": "./index.mjs",

@@ -5,0 +5,0 @@ "devDependencies": {