Skip to content

Commit

Permalink
Make DeviceInfo properties public
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpalata committed May 15, 2022
1 parent 066278c commit 810d0bc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions Sources/FingerprintJS/Harvesters/DataExchange/DeviceInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ import CoreGraphics
import Foundation

public struct DeviceInfo {
let vendorIdentifier: UUID?
public let vendorIdentifier: UUID?

let diskSpace: DiskSpaceInfo?
let screenResolution: CGSize?
let deviceType: String?
let deviceModel: String?
let memorySize: String?
let physicalMemory: String?
let cpuCount: String?
public let diskSpace: DiskSpaceInfo?
public let screenResolution: CGSize?
public let deviceType: String?
public let deviceModel: String?
public let memorySize: String?
public let physicalMemory: String?
public let cpuCount: String?

let osBuild: String?
let osVersion: String?
let osType: String?
let osRelease: String?
let kernelVersion: String?
public let osBuild: String?
public let osVersion: String?
public let osType: String?
public let osRelease: String?
public let kernelVersion: String?
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

struct DiskSpaceInfo {
let freeDiskSpace: UInt64
let totalDiskSpace: UInt64
public struct DiskSpaceInfo {
public let freeDiskSpace: UInt64
public let totalDiskSpace: UInt64
}

0 comments on commit 810d0bc

Please sign in to comment.