mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 01:43:29 +01:00
Make Smapi responsible for turning app token into encrypted jwt (#71)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { SonosDevice } from "@svrooij/sonos/lib";
|
||||
import { v4 as uuid } from "uuid";
|
||||
import { Credentials } from "../src/smapi";
|
||||
|
||||
import { Credentials } from "../src/smapi";
|
||||
import { Service, Device } from "../src/sonos";
|
||||
import {
|
||||
Album,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,6 @@ import {
|
||||
cachingImageFetcher,
|
||||
asTrack,
|
||||
} from "../src/subsonic";
|
||||
import encryption from "../src/encryption";
|
||||
|
||||
import axios from "axios";
|
||||
jest.mock("axios");
|
||||
@@ -593,7 +592,6 @@ describe("Subsonic", () => {
|
||||
const streamClientApplication = jest.fn();
|
||||
const navidrome = new Subsonic(
|
||||
url,
|
||||
encryption("secret"),
|
||||
streamClientApplication
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user